@battlegrid/mcp-server 31.2.60 → 31.2.62
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 +36 -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,42 @@ 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 — v82 (approved models lose their pin flag)
|
|
28
|
+
|
|
29
|
+
**Breaking at v82: one output field removed.** v82 is the contract on top of v81.
|
|
30
|
+
|
|
31
|
+
### Removed output — `list_approved_models`
|
|
32
|
+
|
|
33
|
+
- **`pinProvider` is gone from every model** `list_approved_models` returns. A model is now served
|
|
34
|
+
only by an ordered list of verified hosts that the server keeps to itself, so a pin flag no longer
|
|
35
|
+
describes anything. There is no alias. A client that reads `pinProvider` reads nothing at v82, and
|
|
36
|
+
a strict client that requires it fails to parse the response.
|
|
37
|
+
|
|
38
|
+
## Contract history — v81 (the allocation's committed figure removed, the hub names Max exposure)
|
|
39
|
+
|
|
40
|
+
**Breaking at v81: one output field removed and one renamed.** v81 is the contract on top of v80.
|
|
41
|
+
|
|
42
|
+
### Removed output — the agent fund allocation
|
|
43
|
+
|
|
44
|
+
- **`committedUsd` is gone from the allocation** that `get_agent_fund_allocation`,
|
|
45
|
+
`halt_intelligence_agent`, `resume_intelligence_agent` and `set_agent_per_trade_push` return. It
|
|
46
|
+
measured a custody ledger whose allocate and recall routes are retired. The figure that bounds an
|
|
47
|
+
entry is capital at risk, on `get_agent_budget`. A client reading `committedUsd` reads nothing at
|
|
48
|
+
v81.
|
|
49
|
+
|
|
50
|
+
### Renamed output — `get_agents_hub`
|
|
51
|
+
|
|
52
|
+
- **Each agent's `envelope` names the exposure ceiling `maxConcurrentExposureUsd`**, the trading
|
|
53
|
+
config's own name for it, where v80 called it `budgetUsd`. The value is unchanged. A client reading
|
|
54
|
+
`budgetUsd` reads nothing at v81.
|
|
55
|
+
|
|
56
|
+
### Corrected reason behind an unchanged schema
|
|
57
|
+
|
|
58
|
+
- **An agent entry refused because its Max exposure is fully committed is recorded as
|
|
59
|
+
`INSUFFICIENT_BALANCE`**, where it was recorded as `BELOW_EXCHANGE_MINIMUM` with a $0.00 risk
|
|
60
|
+
budget. Its detail names Max exposure and the capital at risk. It reaches `get_signal_log` and
|
|
61
|
+
`get_public_agent_signal_log_detail`.
|
|
62
|
+
|
|
27
63
|
## Contract history — v79 (the agent's account reading, an exhausted budget, accept below the Balance floor)
|
|
28
64
|
|
|
29
65
|
**Breaking at v79: the agent budget's account fields move into one object.**
|
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.62";
|
|
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.62';
|
|
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];
|