@battlegrid/mcp-server 32.0.26 → 32.0.28
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 +47 -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,53 @@ 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 — v131 (an agent's arena decisions and a trade's thesis are read where each is made)
|
|
42
|
+
|
|
43
|
+
**Breaking at v131: one tool is replaced and some keys you read are gone.** v131 is the contract on top of v130.1. No
|
|
44
|
+
input you send to a surviving tool is refused. Reconnect the proxy, or restart it, so discovery reads the new tool,
|
|
45
|
+
schemas and descriptions.
|
|
46
|
+
|
|
47
|
+
### Removed tool — something you called is gone
|
|
48
|
+
|
|
49
|
+
A call naming it is answered as an unknown tool; there is no alias.
|
|
50
|
+
|
|
51
|
+
- **`get_agent_thought_log`**: call `list_agent_market_grid_decisions({ agentId, cursor?, limit?, window?, since?,
|
|
52
|
+
until? })` for an agent's arena decisions, and `get_signal_log({ agentId, logId })` for a trade, whose thesis is
|
|
53
|
+
`thesisReasoning`. `list_signal_logs({ agentId })` finds the trades.
|
|
54
|
+
|
|
55
|
+
### Added tool
|
|
56
|
+
|
|
57
|
+
- **`list_agent_market_grid_decisions({ agentId, cursor?, limit?, window?, since?, until? })`** (`mcp:read`) — one of
|
|
58
|
+
your agents' arena decisions, newest first, one keyset page at a time (`limit` 1–50, default 20; page with
|
|
59
|
+
`nextCursor`). Each is a decision the agent's model reached in a Market Grid session — submitted, reassessed, stood
|
|
60
|
+
down after the model was consulted, failed after a model call, or a test generation — with its
|
|
61
|
+
`marketGridSessionId` (never null), its picks, its reasoning, the model's confidence and the floor enforced
|
|
62
|
+
against it. A stand-down before any model call (eligibility, cost limit) is not a decision: it is only in
|
|
63
|
+
`get_agent_activity_feed`. It declares `_meta["anthropic/maxResultSizeChars"]`, narrowed by `limit`.
|
|
64
|
+
|
|
65
|
+
### Narrowed output — a shape you read has fewer members
|
|
66
|
+
|
|
67
|
+
- **The decision `outcome`** has the arena vocabulary only: `AGENT_TRADE_THESIS`, `SKIPPED_COST_LIMIT` and
|
|
68
|
+
`SKIPPED_ALREADY_SUBMITTED` are not members of `list_agent_market_grid_decisions`'s `outcome`. A decision has no
|
|
69
|
+
`coinGridSessionId`.
|
|
70
|
+
|
|
71
|
+
### Added output — a field you can read
|
|
72
|
+
|
|
73
|
+
- **`thesisReasoning` on `get_signal_log`**: the trade thesis the agent's model wrote for that decision, `null` for a
|
|
74
|
+
log written before theses were recorded. The public signal-log reads never carry it.
|
|
75
|
+
|
|
76
|
+
### Removed output — a key you read is gone
|
|
77
|
+
|
|
78
|
+
- **`thoughtLogId` on `get_agent_activity_feed` rows.** An event's `marketGridSessionId` and `createdAt` locate its
|
|
79
|
+
decision: read `list_agent_market_grid_decisions({ agentId })` and match the session.
|
|
80
|
+
- **`sourceThoughtLogId`** on `get_signal_log`, `get_public_agent_signal_logs` and
|
|
81
|
+
`get_public_agent_signal_log_detail` rows, and on `list_gate_blocks` rows. A signal log's thesis is its own
|
|
82
|
+
`thesisReasoning`.
|
|
83
|
+
|
|
84
|
+
### Renamed field — a key you matched changed
|
|
85
|
+
|
|
86
|
+
- **`test_generate_deployment_grid`**: `thoughtLogId` is **`marketGridAgentDecisionId`**.
|
|
87
|
+
|
|
41
88
|
## Contract history — v130.1 (your agent's profile header, your account's fills and your trade conversations read through MCP)
|
|
42
89
|
|
|
43
90
|
**Additive at v130.1: three read tools.** v130.1 is the contract on top of v130. Nothing a client sends is refused
|
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.28";
|
|
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.28';
|
|
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];
|