@battlegrid/mcp-server 32.0.43 → 32.0.44

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
@@ -102,11 +102,12 @@ proxy, or restart it, so discovery reads the widened vocabulary.
102
102
  - **`vocabularyDigest` and the authoring catalog digest move** with the sixty-six metrics and five studies. A client
103
103
  caching vocabulary against either re-reads `list_strategy_vocabulary`.
104
104
 
105
- ## Contract history — v137.1 (a condition exit's evidence and slippage)
105
+ ## Contract history — v137.1 (a condition exit's evidence and slippage, and a spot venue's period bar over quiet minutes)
106
106
 
107
- **Additive at v137.1: one owner output field, and one served value moves.** v137.1 is the contract on top of v137.
108
- Nothing a client sends is refused that v137 accepted. Reconnect the proxy, or restart it, so discovery reads the widened
109
- output.
107
+ **Additive at v137.1: one owner output field, three glosses re-worded, and served values move.** v137.1 is the
108
+ contract on top of v137, announced once for two changes: a condition exit's evidence (#5809 in BattleGrid) and step 1
109
+ of BattleGrid's spot-coverage fix (#5832). Nothing a client sends is refused that v137 accepted. Reconnect the proxy,
110
+ or restart it, so discovery reads the widened output and the re-worded vocabulary.
110
111
 
111
112
  ### Widened output — the bars behind a condition exit
112
113
 
@@ -123,6 +124,32 @@ output.
123
124
 
124
125
  - **`slippageExit` on a `CONDITION_EXIT` close** is the exit average fill less the close of the bar the exit rule fired
125
126
  on, where it was null. Every other close kind is unchanged. `toolCount` stays 149.
127
+ - **A spot venue's bar exists for a period it covered and traded in, though quiet minutes in it hold no bar.** A venue
128
+ period used to need a bar in every minute, so a thin coin that went more than its spot-tape freshness target (at
129
+ least 15 minutes) without a trade inside an hour lost that hour's venue bar. Now the bar exists whenever every minute
130
+ was covered and the venue traded in the period, or carried its last price through every minute. So
131
+ `SPOT_CLOSE_CB`, `SPOT_CLOSE_BN`, `SPOT_CLOSE_BYB`, `BUY_PRES_CB`, `BUY_PRES_BN`, `BUY_PRES_BYB`, the
132
+ `spot.venues.*` members, the five declared venue spreads (`SPOT_CLOSE_CB × spread(SPOT_CLOSE_BN)`,
133
+ `CLOSE × spread(SPOT_CLOSE_CB|BN|BYB)`, `BUY_PRES_CB × spread(BUY_PRES_BN)`), their exchange-wide ranks and the
134
+ venue-dislocation template's columns read a value for such a period where they read null.
135
+ - **A closed venue close is that period's close at any age.** It is the venue's last trade in the period, as the
136
+ venue's own candle closes, even when that trade was early in the period; a closed reading is never aged. A spread
137
+ against the perp's close can therefore compare two instants on a thin venue. A Developing (forming) venue close is
138
+ still absent once older than the coin's spot-tape target.
139
+ - **Unchanged:** the composite's flow, `SPOT_CVD`, `SPOT_AVG_TRADE` and `SPOT_DOMINANCE`. A period with a minute the
140
+ venue's feed and trade history both missed still has no venue bar.
141
+
142
+ ### Re-worded text — the spot close glosses
143
+
144
+ - **`SPOT_CLOSE_CB`, `SPOT_CLOSE_BN` and `SPOT_CLOSE_BYB`** state when the venue's period bar exists: its close is the
145
+ venue's last trade in the period, or the price it carried through every minute of a period with no trade; it is
146
+ absent where a minute of the period went unseen, or where the coin did not trade on the venue and its price was not
147
+ carried through every minute. Each names its venue's quote currency from BattleGrid's declared quote policy.
148
+
149
+ ### Digest move
150
+
151
+ - **`vocabularyDigest` and the authoring catalog digest move** with the three glosses. A client caching vocabulary
152
+ against either re-reads `list_strategy_vocabulary`.
126
153
 
127
154
  ## Contract history — v137 (TradingView's indicator math, Stoch RSI %K/%D, and a spread in points)
128
155
 
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.43";
50
+ export declare const PACKAGE_VERSION = "32.0.44";
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.43';
52
+ export const PACKAGE_VERSION = '32.0.44';
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];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@battlegrid/mcp-server",
3
- "version": "32.0.43",
3
+ "version": "32.0.44",
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": "137.2.0",
3
+ "contractVersion": "137.3.0",
4
4
  "files": {
5
5
  "battlegrid-agent-management/SKILL.md": "91d1be4de1e33d54e1852c970af66ad176068fd16c30b4326e49053b7a35eb32",
6
6
  "battlegrid-agent-management/references/agent-stage-examples.md": "dffcc353d61dfc7b5bb6a2b3077fc6bf8c760a34c287cafb3b59b99306f24195",