@battlegrid/mcp-server 32.0.38 → 32.0.39
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 +22 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,6 +38,28 @@ 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 — v137.1 (a condition exit's evidence and slippage)
|
|
42
|
+
|
|
43
|
+
**Additive at v137.1: one owner output field, and one served value moves.** v137.1 is the contract on top of v137.
|
|
44
|
+
Nothing a client sends is refused that v137 accepted. Reconnect the proxy, or restart it, so discovery reads the widened
|
|
45
|
+
output.
|
|
46
|
+
|
|
47
|
+
### Widened output — the bars behind a condition exit
|
|
48
|
+
|
|
49
|
+
- **`get_signal_log`'s `pipeline.outcome` carries `conditionExitEvidence`**: the evidence records of the exit rule named
|
|
50
|
+
by `closeTriggerConditionKey`, oldest firing first. Each names the condition, the strategy revision and the firing bar
|
|
51
|
+
(`timeframe`, `barStart`, `barCloseAt`), and each counted node of the firing condition — a clause's header or a held
|
|
52
|
+
group's operator — with its hold, its true count and every bar's open time, rendered value and outcome.
|
|
53
|
+
- **It is empty when `closeTriggerConditionKey` is null**: the position closed for another reason, or before evidence
|
|
54
|
+
was recorded. A firing that found the position already closed by its exchange stop is never served as the close's
|
|
55
|
+
evidence.
|
|
56
|
+
- **Owner and admin only.** The public signal-log reads never carry it; their outcome schema is strict and unchanged.
|
|
57
|
+
|
|
58
|
+
### Changed values — the same schema serves a different number
|
|
59
|
+
|
|
60
|
+
- **`slippageExit` on a `CONDITION_EXIT` close** is the exit average fill less the close of the bar the exit rule fired
|
|
61
|
+
on, where it was null. Every other close kind is unchanged. `toolCount` stays 149.
|
|
62
|
+
|
|
41
63
|
## Contract history — v136.1 (spot facts per bar: each venue's close and buy share, the composite's flow, and Bybit)
|
|
42
64
|
|
|
43
65
|
**Additive at v136.1: six metrics and a study, and served values move.** v136.1 is the contract on top of v136.
|
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.39";
|
|
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.39';
|
|
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];
|