@battlegrid/mcp-server 31.2.35 → 31.2.36

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,49 @@ 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 — v63.2
28
+
29
+ Purely additive again, and smaller: **one optional input field.** Drafts now cover a strategy that
30
+ does not exist yet, so a playbook you author in chat survives between compiles instead of starting
31
+ over each time.
32
+
33
+ ### Wider input — one optional field on one tool
34
+
35
+ - **`compile_strategy_plan`'s CREATE arm gains an optional `strategyId`**, naming the create draft
36
+ this compile continues. Omit it and the server mints an id exactly as it always has, so nothing
37
+ you send today breaks.
38
+
39
+ - **Send it to accumulate; omit it to start fresh.** A first CREATE names nothing and mints; stage
40
+ that plan and the draft opens at the minted id, which `list_strategy_drafts` and the plan itself
41
+ both report. Name that id on the next CREATE and the second plan carries the same identity, so the
42
+ one draft accumulates rather than a second opening beside it.
43
+
44
+ - **WHY YOU HAVE TO SAY IT.** The server will not choose for you. A compile knows only who you are —
45
+ it has no conversation id — and you may hold several create drafts, so picking one could write this
46
+ playbook's values over another's. A compile that names none mints a third id rather than guessing.
47
+
48
+ - **It names a draft; it does not choose an id.** It is accepted only as the identity of a create
49
+ draft you own. An id naming no such draft is refused, as is one naming a draft for a strategy that
50
+ already exists.
51
+
52
+ ### Behaviour changes behind unchanged schemas
53
+
54
+ - **`stage_strategy_plan` admits a CREATE plan**, opening the create draft at the plan's own id when
55
+ none exists yet. Its input is still `{ planToken }` alone, and the contested-axis refusal applies
56
+ identically.
57
+
58
+ - **`list_strategy_drafts` rows gain `baseRevision`.** It is `null` for a create draft — a strategy
59
+ that does not exist has no committed revision to be based on — and that null is the only thing that
60
+ distinguishes one. There is no `kind`, `isNew` or `status` field beside it.
61
+
62
+ - **A create draft reserves nothing.** It consumes no quota and holds no name, so both are decided
63
+ when the strategy is actually created. Holding drafts past your limit is legal; creating past it is
64
+ not.
65
+
66
+ ### Vocabulary
67
+
68
+ `axes.create` gains `strategyId`. No domain gains a value, and `toolCount` stays 122.
69
+
27
70
  ## Contract history — v63.1
28
71
 
29
72
  Purely additive: **four new tools, nothing you send today changes.** A strategy now has an
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.35";
52
+ export declare const PACKAGE_VERSION = "31.2.36";
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.35';
55
+ export const PACKAGE_VERSION = '31.2.36';
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.35",
3
+ "version": "31.2.36",
4
4
  "description": "BattleGrid MCP server \u2014 play crypto prediction games from AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",