@battlegrid/mcp-server 31.2.82 → 31.2.83

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 CHANGED
@@ -24,6 +24,36 @@ 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 — v101 (an agent on a radar cannot be archived)
28
+
29
+ **Breaking at v101: `archive_intelligence_agent` refuses an agent held in any radar deployment, and its
30
+ refusal names a fourth blocker.** v101 is the contract on top of v100.
31
+
32
+ ### Narrowed acceptance — the same request, refused where it was accepted
33
+
34
+ - **`archive_intelligence_agent` refuses an agent that holds a slot in any radar deployment, paused ones
35
+ included.** The input schema is unchanged: a call that archived such an agent before now gets the
36
+ existing `CONFLICT`. A paused radar still holds its slots, so pausing does not clear it. Find the coins
37
+ with `list_radar_deployments`, then commit a radar draft without the agent or call
38
+ `delete_radar_deployment`, and archive again.
39
+
40
+ ### Widened enum
41
+
42
+ - **`details.archiveBlockers[].reason` gains `RADAR_DEPLOYED`**, after `DEPLOYED`, `OPEN_TRADES` and
43
+ `ACTIVE_SESSION`. Its `detail` reads `in N radar deployment(s)`, counting every radar deployment that
44
+ holds the agent.
45
+
46
+ ### Behaviour behind unchanged schemas
47
+
48
+ - An archived agent holds no deployment slot in either venue, so `activate_intelligence_agent` arms
49
+ nothing: the agent trades again only once you deploy it.
50
+ - A `commit_radar_deployment_draft` or `commit_deployment_policy_draft` that races an archive of one of its
51
+ agents is refused with the existing `CONFLICT`. Read the draft again; its diagnostics name the archived
52
+ agent.
53
+
54
+ A client that reads `archiveBlockers[].reason` as a closed set, or expects an archive of a radar-deployed
55
+ agent to succeed, breaks at v101 — hence the MAJOR.
56
+
27
57
  ## Contract history — v100 (what one bar did: level interaction, candle patterns, gaps, runs)
28
58
 
29
59
  **Breaking at v100: the `bandTouch` transform is retired and `levelInteraction` takes its place; a column
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.82";
52
+ export declare const PACKAGE_VERSION = "31.2.83";
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.82';
55
+ export const PACKAGE_VERSION = '31.2.83';
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];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@battlegrid/mcp-server",
3
- "version": "31.2.82",
3
+ "version": "31.2.83",
4
4
  "description": "BattleGrid MCP server — play crypto prediction games from AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",