@battlegrid/mcp-server 31.2.62 → 31.2.63

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,43 @@ 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 — v83 (a model's vendor is its vendor slug)
28
+
29
+ **Breaking at v83: four output fields renamed and retyped, one aggregation regrouped.** v83 is the
30
+ contract on top of v82.
31
+
32
+ Wherever a model's vendor is published, it is now the router vendor slug of the model's id — the part
33
+ before the `/` (`anthropic`, `z-ai`, `moonshotai`, …). It is never the BYOK provider enum, and never the
34
+ catalogue's display label, which sometimes named a hosting provider rather than the model's maker.
35
+
36
+ ### Reshaped output — the agent
37
+
38
+ - **Every agent loses `provider` and gains `modelVendorSlug: string`**, on `list_intelligence_agents`,
39
+ `get_intelligence_agent`, `create_intelligence_agent`, `update_intelligence_agent`,
40
+ `rebind_intelligence_agent`, `archive_intelligence_agent` and `activate_intelligence_agent`.
41
+ `provider` was the BYOK enum and was `null` for every agent; `modelVendorSlug` is never null. A
42
+ client reading `provider` reads nothing at v83.
43
+
44
+ ### Renamed output — `list_approved_models`
45
+
46
+ - **Each model's `provider` is renamed `vendorSlug`**, and its value changes: the vendor slug
47
+ (`z-ai`) where v82 served a display label that could name a host (`StreamLake`).
48
+
49
+ ### Renamed output, regrouped rows — `get_agent_explorer`
50
+
51
+ - **Each `modelVendors[]` row's `provider` / `providerImageUrl` are renamed `vendorSlug` /
52
+ `vendorImageUrl`.**
53
+ - **Rows group by vendor slug**, so every model one vendor makes shares a row whatever its display
54
+ label: three GLM labels that were three rows at v82 are one `z-ai` row at v83. Counts and sums add;
55
+ each mean is the merged total over the merged trade count.
56
+
57
+ ### Renamed output — the `ownerView` LLM-call envelope
58
+
59
+ - **The envelope's `provider` is renamed `modelVendorSlug`**, on `get_agent_journal`, `get_signal_log`,
60
+ `get_agent_game_history`, `get_user_agent_game_history`, `get_public_agent_signal_log_detail` and
61
+ `get_public_agent_game_history`. It is `null` exactly when `modelDisplayName` is — a call whose model
62
+ has left the catalogue.
63
+
27
64
  ## Contract history — v82 (approved models lose their pin flag)
28
65
 
29
66
  **Breaking at v82: one output field removed.** v82 is the contract on top of v81.
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.62";
52
+ export declare const PACKAGE_VERSION = "31.2.63";
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.62';
55
+ export const PACKAGE_VERSION = '31.2.63';
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.62",
3
+ "version": "31.2.63",
4
4
  "description": "BattleGrid MCP server — play crypto prediction games from AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",