@battlegrid/mcp-server 31.2.67 → 31.2.68

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,29 @@ 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 — v87 (a fork's create resolves its source again)
28
+
29
+ **Breaking at v87: a fork's create can now be refused where it committed.** v87 is the contract on top of
30
+ v86. No schema, description or tool changes.
31
+
32
+ ### Narrowed acceptance
33
+
34
+ A create draft that `fork_strategy` opened is committed by `commit_strategy_draft` with
35
+ `expectedRevision: null`, or by the builder's Create. That create now resolves the strategy it copied
36
+ again. It uses only the source id and revision in the draft's `ORIGIN`, by the same rule the fork applied:
37
+
38
+ - **A source that moved past the forked revision** refuses the create with `CONFLICT` and **no
39
+ `details.nextAct`**. Reading the draft again cannot cure it; the message says to discard the draft and
40
+ fork again. `get_strategy_draft` and `stage_strategy_draft` report the same refusal in the draft's
41
+ diagnostics.
42
+ - **A source you can no longer see** — archived, or neither yours nor SYSTEM — answers `NOT_FOUND`.
43
+
44
+ ### Widened acceptance
45
+
46
+ - **Neither `fork_strategy` nor the create reads the source's stored revision snapshot.** A strategy whose
47
+ stored snapshot predates the current shape — every SYSTEM template among them — now forks and creates
48
+ from its live state, where both were refused.
49
+
27
50
  ## Contract history — v86 (a refusal hint belongs to the operation that can act on it)
28
51
 
29
52
  **Breaking at v86: refusals on most tools lose `details.nextAct`, two refusals change code, and one
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.67";
52
+ export declare const PACKAGE_VERSION = "31.2.68";
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.67';
55
+ export const PACKAGE_VERSION = '31.2.68';
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.67",
3
+ "version": "31.2.68",
4
4
  "description": "BattleGrid MCP server — play crypto prediction games from AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "generator": "battlegrid-app/server/scripts/export-mcp-skills.mjs",
3
- "contractVersion": "86.0.0",
3
+ "contractVersion": "87.0.0",
4
4
  "files": {
5
5
  "battlegrid-agent-management/SKILL.md": "b2f04d76480de2f9fdbd00f8cb25610d2b72fcaa4f87ca57a09bd9ffc78fdbba",
6
6
  "battlegrid-arena-play/SKILL.md": "4cfaa92a8d0dcaf477b227abd774e7aa8642c185d72108dfd401be0cf8aecd7f",