@battlegrid/mcp-server 31.2.45 → 31.2.46
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 +34 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,6 +24,40 @@ Seeing package `31.x` alongside handshake `battlegrid@33.x` — the package **be
|
|
|
24
24
|
|
|
25
25
|
**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.
|
|
26
26
|
|
|
27
|
+
## Contract history — v66.1 → v67
|
|
28
|
+
|
|
29
|
+
**Breaking at v67: four output fields removed.** v66.1 and v66.2 were additive and are recorded here
|
|
30
|
+
with it.
|
|
31
|
+
|
|
32
|
+
### Reshaped output — `get_agents_hub` (v67, breaking)
|
|
33
|
+
|
|
34
|
+
- **`summary` loses `messagesUsedToday`, `dailyLimit`, `messagesUsedPercent` and
|
|
35
|
+
`avgCostPerMessageUsd`.** They reported the in-app arena chat's daily message quota, and that chat
|
|
36
|
+
is retired, so every value would have read zero. A strict client that reads them fails to parse the
|
|
37
|
+
summary. The rest of the summary is unchanged; per-agent spend stays on each row's `cost24hUsd`.
|
|
38
|
+
|
|
39
|
+
### Wider surface — two tools added (v66.2)
|
|
40
|
+
|
|
41
|
+
- **`scan_coin_agents`** (`coinTicker`; `mcp:read`) — one coin evaluated against every one of the
|
|
42
|
+
caller's own agents, ranked in four arrays: `qualified` by score, `rejected` with the first failing
|
|
43
|
+
gate, `unscorable`, and `ineligible` with the code `propose_entry_decision` would refuse the agent
|
|
44
|
+
with (`AGENT_NOT_ACTIVE`, `MODEL_INACTIVE`, `AGENT_HALTED`). `rank` is global across the four.
|
|
45
|
+
Rate-limited per user: a refusal is `RATE_LIMITED` with `retryAfterSeconds`.
|
|
46
|
+
- **`get_onboarding_requirements`** (no input; `mcp:read`) — the caller's readiness ladder: every
|
|
47
|
+
rung, the spine counts and the next rung.
|
|
48
|
+
|
|
49
|
+
### Reshaped output — `get_strategy_draft` (v66.1)
|
|
50
|
+
|
|
51
|
+
- **`draft` gains `lastSource`** — the surface of the draft's latest write (`form`, `commander`,
|
|
52
|
+
`telegram` or `mcp`), as the agent and radar draft reads already publish. Before v66.1 every read of
|
|
53
|
+
an existing strategy draft failed its output check with `INTERNAL_ERROR`; it now succeeds.
|
|
54
|
+
|
|
55
|
+
### Vocabulary
|
|
56
|
+
|
|
57
|
+
`toolCount` goes 132 → 134. The added tools' schemas are new; `get_strategy_draft`'s and
|
|
58
|
+
`get_agents_hub`'s output schemas move. Descriptions that named the app's retired Agent Toolbox trade
|
|
59
|
+
tab now name Commander.
|
|
60
|
+
|
|
27
61
|
## Contract history — v66
|
|
28
62
|
|
|
29
63
|
**Breaking: one tool retired and one input reshaped.** Radar content now commits only as a draft the
|
package/dist/index.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ import { type Implementation, type Prompt, type Resource } from '@modelcontextpr
|
|
|
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 declare const PACKAGE_VERSION = "31.2.
|
|
52
|
+
export declare const PACKAGE_VERSION = "31.2.46";
|
|
53
53
|
export declare const DEFAULT_URL = "https://mcp.battlegrid.trade/mcp";
|
|
54
54
|
export interface EnvConfig {
|
|
55
55
|
apiKeys: string[];
|
package/dist/index.js
CHANGED
|
@@ -52,7 +52,7 @@ import { ListToolsRequestSchema, CallToolRequestSchema, ListPromptsRequestSchema
|
|
|
52
52
|
* being asked. Move it for a change to THIS package — a proxy fix, a dependency bump, a docs
|
|
53
53
|
* correction. Never move it to track the server.
|
|
54
54
|
*/
|
|
55
|
-
export const PACKAGE_VERSION = '31.2.
|
|
55
|
+
export const PACKAGE_VERSION = '31.2.46';
|
|
56
56
|
export const DEFAULT_URL = 'https://mcp.battlegrid.trade/mcp';
|
|
57
57
|
const MAX_RETRIES = 3;
|
|
58
58
|
const RETRY_DELAYS_MS = [2000, 4000, 8000];
|