@battlegrid/mcp-server 32.0.56 → 32.0.58
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 +17 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/skills/EXPORT.json +1 -1
package/README.md
CHANGED
|
@@ -38,6 +38,23 @@ Seeing package `31.x` alongside handshake `battlegrid@33.x` — the package **be
|
|
|
38
38
|
|
|
39
39
|
**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.
|
|
40
40
|
|
|
41
|
+
## Contract history — v142.3 (read a metric relative to another coin)
|
|
42
|
+
|
|
43
|
+
**Additive at v142.3: one transform, one column knob and one numeric unit added.** Nothing a client sends today is
|
|
44
|
+
refused that it accepted before. Reconnect the proxy, or restart it, so discovery reads the new vocabulary.
|
|
45
|
+
|
|
46
|
+
- **`relativeTo` ("Relative to coin")** reads a column's metric against the same metric of another roster coin, bar
|
|
47
|
+
by bar. A unit that means the same on every coin gives the difference (`RSI14_ETH_rel` — SOL's RSI minus ETH's, in
|
|
48
|
+
points). A price gives the ratio (`close_BTC_rel` — SOL ÷ BTC, TradingView's `SOLUSDT/BTCUSDT`). It chains the
|
|
49
|
+
series statistics (`close_BTC_rel_z20`) and never `rank`.
|
|
50
|
+
- **The column knob `instrument`** names the coin — a roster ticker, `BTC` when omitted. It is resolved like a
|
|
51
|
+
benchmark binding, and a coin that is not active is refused with `REPORT_COLUMN_INSTRUMENT_UNKNOWN`.
|
|
52
|
+
- **The numeric unit `priceRatio`** carries a ratio, printed at significant digits.
|
|
53
|
+
- **Widened vocabulary:** the transform-id enum gains `relativeTo`, the numeric-unit enum `priceRatio`, a served
|
|
54
|
+
`operandOrder` may name `instrument`, and a column contract's `effectiveParameters` carries `instrument` (`null` on
|
|
55
|
+
every column that reads no other coin).
|
|
56
|
+
- **A bar the other coin does not hold is a read that never ran:** a condition over it reads unresolved, never false.
|
|
57
|
+
|
|
41
58
|
## Contract history — v140 (every count limit is the account plan's, and Bybit is no longer a spot venue)
|
|
42
59
|
|
|
43
60
|
**Breaking at v140: three outputs reshaped, one refusal widened, one metric retired.** v140 is the contract on top of
|
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.
|
|
50
|
+
export declare const PACKAGE_VERSION = "32.0.58";
|
|
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.
|
|
52
|
+
export const PACKAGE_VERSION = '32.0.58';
|
|
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
package/skills/EXPORT.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"generator": "battlegrid-app/server/scripts/export-mcp-skills.mjs",
|
|
3
|
-
"contractVersion": "142.
|
|
3
|
+
"contractVersion": "142.2.0",
|
|
4
4
|
"files": {
|
|
5
5
|
"battlegrid-agent-management/SKILL.md": "324ef8181bfcfc99b955d9644ed543c6ab91071153d43f77ccf0a4979b896b09",
|
|
6
6
|
"battlegrid-agent-management/references/agent-stage-examples.md": "dffcc353d61dfc7b5bb6a2b3077fc6bf8c760a34c287cafb3b59b99306f24195",
|