crypto-quant-signal-mcp 1.28.0 → 1.28.1

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.
Files changed (109) hide show
  1. package/README.md +6 -4
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +8 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/lib/aoe-config-reader.d.ts +26 -5
  6. package/dist/lib/aoe-config-reader.d.ts.map +1 -1
  7. package/dist/lib/aoe-config-reader.js +26 -5
  8. package/dist/lib/aoe-config-reader.js.map +1 -1
  9. package/dist/lib/detector-envelope.d.ts +64 -0
  10. package/dist/lib/detector-envelope.d.ts.map +1 -0
  11. package/dist/lib/detector-envelope.js +163 -0
  12. package/dist/lib/detector-envelope.js.map +1 -0
  13. package/dist/lib/email.d.ts +24 -2
  14. package/dist/lib/email.d.ts.map +1 -1
  15. package/dist/lib/email.js +31 -8
  16. package/dist/lib/email.js.map +1 -1
  17. package/dist/lib/entitlement.d.ts +13 -0
  18. package/dist/lib/entitlement.d.ts.map +1 -1
  19. package/dist/lib/entitlement.js +4 -0
  20. package/dist/lib/entitlement.js.map +1 -1
  21. package/dist/lib/feature-registry.d.ts +25 -0
  22. package/dist/lib/feature-registry.d.ts.map +1 -1
  23. package/dist/lib/feature-registry.js +59 -3
  24. package/dist/lib/feature-registry.js.map +1 -1
  25. package/dist/lib/funnel-dashboard-html.d.ts.map +1 -1
  26. package/dist/lib/funnel-dashboard-html.js +33 -0
  27. package/dist/lib/funnel-dashboard-html.js.map +1 -1
  28. package/dist/lib/funnel-scoreboard.d.ts +55 -1
  29. package/dist/lib/funnel-scoreboard.d.ts.map +1 -1
  30. package/dist/lib/funnel-scoreboard.js +85 -0
  31. package/dist/lib/funnel-scoreboard.js.map +1 -1
  32. package/dist/lib/funnel-snapshot.d.ts +232 -0
  33. package/dist/lib/funnel-snapshot.d.ts.map +1 -1
  34. package/dist/lib/funnel-snapshot.js +330 -0
  35. package/dist/lib/funnel-snapshot.js.map +1 -1
  36. package/dist/lib/license.d.ts.map +1 -1
  37. package/dist/lib/license.js +22 -2
  38. package/dist/lib/license.js.map +1 -1
  39. package/dist/lib/payment-method-backfill.d.ts.map +1 -1
  40. package/dist/lib/payment-method-backfill.js +6 -0
  41. package/dist/lib/payment-method-backfill.js.map +1 -1
  42. package/dist/lib/performance-db.d.ts +58 -0
  43. package/dist/lib/performance-db.d.ts.map +1 -1
  44. package/dist/lib/performance-db.js +112 -3
  45. package/dist/lib/performance-db.js.map +1 -1
  46. package/dist/lib/quota-surfaces.d.ts.map +1 -1
  47. package/dist/lib/quota-surfaces.js +31 -17
  48. package/dist/lib/quota-surfaces.js.map +1 -1
  49. package/dist/lib/stripe-payment-failures-store.d.ts +8 -0
  50. package/dist/lib/stripe-payment-failures-store.d.ts.map +1 -1
  51. package/dist/lib/stripe-payment-failures-store.js +79 -7
  52. package/dist/lib/stripe-payment-failures-store.js.map +1 -1
  53. package/dist/lib/subscriber-notify.d.ts +12 -0
  54. package/dist/lib/subscriber-notify.d.ts.map +1 -1
  55. package/dist/lib/subscriber-notify.js +5 -0
  56. package/dist/lib/subscriber-notify.js.map +1 -1
  57. package/dist/lib/trend-mode-flag.d.ts +31 -0
  58. package/dist/lib/trend-mode-flag.d.ts.map +1 -0
  59. package/dist/lib/trend-mode-flag.js +7 -0
  60. package/dist/lib/trend-mode-flag.js.map +1 -0
  61. package/dist/lib/verdict-factors.d.ts.map +1 -1
  62. package/dist/lib/verdict-factors.js +67 -9
  63. package/dist/lib/verdict-factors.js.map +1 -1
  64. package/dist/lib/webhook-api.d.ts +6 -10
  65. package/dist/lib/webhook-api.d.ts.map +1 -1
  66. package/dist/lib/webhook-api.js +70 -3
  67. package/dist/lib/webhook-api.js.map +1 -1
  68. package/dist/lib/webhook-delivery.d.ts.map +1 -1
  69. package/dist/lib/webhook-delivery.js +21 -2
  70. package/dist/lib/webhook-delivery.js.map +1 -1
  71. package/dist/lib/webhook-events.d.ts.map +1 -1
  72. package/dist/lib/webhook-events.js +20 -1
  73. package/dist/lib/webhook-events.js.map +1 -1
  74. package/dist/scripts/backfill-directional-labels.d.ts +25 -5
  75. package/dist/scripts/backfill-directional-labels.d.ts.map +1 -1
  76. package/dist/scripts/backfill-directional-labels.js +77 -11
  77. package/dist/scripts/backfill-directional-labels.js.map +1 -1
  78. package/dist/scripts/calibration-audit.js +2 -2
  79. package/dist/scripts/calibration-audit.js.map +1 -1
  80. package/dist/scripts/verdict-mix-r1-point.d.ts +3 -0
  81. package/dist/scripts/verdict-mix-r1-point.d.ts.map +1 -0
  82. package/dist/scripts/verdict-mix-r1-point.js +171 -0
  83. package/dist/scripts/verdict-mix-r1-point.js.map +1 -0
  84. package/dist/scripts/verdict-mix-r1.d.ts +3 -0
  85. package/dist/scripts/verdict-mix-r1.d.ts.map +1 -0
  86. package/dist/scripts/verdict-mix-r1.js +153 -0
  87. package/dist/scripts/verdict-mix-r1.js.map +1 -0
  88. package/dist/scripts/verdict-mix-replay.d.ts +92 -0
  89. package/dist/scripts/verdict-mix-replay.d.ts.map +1 -0
  90. package/dist/scripts/verdict-mix-replay.js +175 -0
  91. package/dist/scripts/verdict-mix-replay.js.map +1 -0
  92. package/dist/scripts/verdict-mix-report.d.ts +3 -0
  93. package/dist/scripts/verdict-mix-report.d.ts.map +1 -0
  94. package/dist/scripts/verdict-mix-report.js +227 -0
  95. package/dist/scripts/verdict-mix-report.js.map +1 -0
  96. package/dist/tool-descriptions.d.ts +4 -4
  97. package/dist/tool-descriptions.d.ts.map +1 -1
  98. package/dist/tool-descriptions.js +21 -4
  99. package/dist/tool-descriptions.js.map +1 -1
  100. package/dist/tools/get-market-regime.d.ts +14 -0
  101. package/dist/tools/get-market-regime.d.ts.map +1 -1
  102. package/dist/tools/get-market-regime.js +80 -11
  103. package/dist/tools/get-market-regime.js.map +1 -1
  104. package/dist/tools/get-trade-call.d.ts +169 -0
  105. package/dist/tools/get-trade-call.d.ts.map +1 -1
  106. package/dist/tools/get-trade-call.js +279 -15
  107. package/dist/tools/get-trade-call.js.map +1 -1
  108. package/package.json +5 -1
  109. package/server.json +2 -2
package/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
  </p>
12
12
 
13
13
  <p align="center">
14
- <span data-tr-field="pfe_wr">91.7%</span> PFE win rate across <span data-tr-field="total_calls">500,967</span>+ verified calls. Merkle-verified on Base L2. Don't trust — verify. <!-- SNAPSHOT-LINE -->
14
+ <span data-tr-field="pfe_wr">91.7%</span> PFE win rate across <span data-tr-field="total_calls">506,869</span>+ verified calls. Merkle-verified on Base L2. Don't trust — verify. <!-- SNAPSHOT-LINE -->
15
15
  </p>
16
16
 
17
17
  <p align="center">
@@ -93,7 +93,7 @@ Under the hood, a self-tuning model fuses momentum, trend structure, derivatives
93
93
  { "coin": "SOL", "timeframe": "15m", "confidence": 73 }
94
94
  ],
95
95
  "_algovault": {
96
- "version": "1.28.0",
96
+ "version": "1.28.1",
97
97
  "tool": "get_trade_call",
98
98
  "compatible_with": ["crypto-quant-risk-mcp", "crypto-quant-backtest-mcp"]
99
99
  }
@@ -111,7 +111,7 @@ The `_algovault` block makes outputs composable: downstream risk and backtest to
111
111
  scripts/snapshot-landing-data.mjs at npm-publish + Hetzner-deploy. Do NOT hand-edit the
112
112
  numbers; edit "What's new" by hand. Wired by OPS-NPM-README-SINGLE-SOT-W1 (2026-05-31). -->
113
113
  <p align="center">
114
- <strong><span data-tr-field="pfe_wr">91.7%</span> PFE Win Rate</strong> · <strong><span data-tr-field="total_calls">500,967</span> trade calls</strong> · <strong><span data-tr-field="merkle_batches">134</span> on-chain batches</strong> <!-- SNAPSHOT-LINE -->
114
+ <strong><span data-tr-field="pfe_wr">91.7%</span> PFE Win Rate</strong> · <strong><span data-tr-field="total_calls">506,869</span> trade calls</strong> · <strong><span data-tr-field="merkle_batches">136</span> on-chain batches</strong> <!-- SNAPSHOT-LINE -->
115
115
  </p>
116
116
 
117
117
  <p align="center">
@@ -235,7 +235,7 @@ Two meters per paid tier, monthly and daily, enforced independently: a call is r
235
235
  | Feature | Free | Starter ($9.99/mo · $39.90/6mo) | Pro ($49/mo · $129/6mo) | Enterprise (contact us) | x402 (per call) |
236
236
  |---------|------|-------------------|-------------|---------------------|-----------------|
237
237
  | Exchanges | All 15 | All 15 | All 15 | All 15 | All 15 | <!-- SNAPSHOT-LINE-TABLE -->
238
- | Assets | All 1720+ | All 1720+ | All 1720+ | All 1720+ | All 1720+ | <!-- SNAPSHOT-LINE-TABLE -->
238
+ | Assets | All 1740+ | All 1740+ | All 1740+ | All 1740+ | All 1740+ | <!-- SNAPSHOT-LINE-TABLE -->
239
239
  | Asset classes | Crypto + TradFi | Crypto + TradFi | Crypto + TradFi | Crypto + TradFi | Crypto + TradFi |
240
240
  | Timeframes | All 11 | All 11 | All 11 | All 11 | All 11 |
241
241
  | Funding arb results | Top 5 | Unlimited | Unlimited | Unlimited | Unlimited |
@@ -260,6 +260,8 @@ Pro 6-month is currently $129 — limited-time pricing; subscribe now and renewa
260
260
  - **📘 Two parameters that were always there, now documented.** `assetClass` on the trade-call tools and `minLiquidityUsd` on `scan_trade_calls`. Both project from the live schema, so the docs can't drift from the server — and `_receipts` fields are documented from real responses.
261
261
  - **📗 [The docs](https://algovault.com/docs) answer the question instead of pointing at it.** Every `rankBy` lens is documented, REST is as complete as MCP, there's a proper error-code reference, and the copy-paste samples run exactly as written — CI re-checks them against the live API on every deploy.
262
262
 
263
+ - **v1.28.1** — clearer tool descriptions for agent tool-selection; `get_trade_signal` now steers new integrations to `get_trade_call`.
264
+
263
265
  **Upgrading from v1.27.x** — one breaking change: `EDGEX` and `WEEX` are no longer valid `exchange` values and now return `-32602`. No tool was added or renamed. Check any hard-coded `exchange` value against the published enum, and read `_algovault.auth` if you branch on auth failures.
264
266
 
265
267
  ### v1.27.x highlights (recap)
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAWA,OAAO,EAAE,SAAS,EAAuC,MAAM,yC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,SAAS,EAAE,OAAO,EAC9B,GAAG,EAAE,OAAO,SAAS,EAAE,QAAQ,EAC/B,OAAO,EAAE,WAAW,GACnB,OAAO,CAQT;AA+vJD,wBAAgB,mBAAmB,cAElC"}
package/dist/index.js CHANGED
@@ -522,7 +522,14 @@ function createServer() {
522
522
  };
523
523
  }
524
524
  register('get_trade_call', tool_descriptions_js_1.TRADE_CALL_DESCRIPTION, TRADE_CALL_SCHEMA, { title: 'Composite Trade Call', ...tool_annotations_js_1.PUBLIC_READONLY_TOOL_ANNOTATIONS }, makeTradeCallHandler('get_trade_call'));
525
- register('get_trade_signal', tool_descriptions_js_1.TRADE_CALL_DESCRIPTION + tool_descriptions_js_1.TRADE_CALL_ALIAS_SUFFIX, TRADE_CALL_SCHEMA, { title: 'Trade Signal', ...tool_annotations_js_1.PUBLIC_READONLY_TOOL_ANNOTATIONS }, makeTradeCallHandler('get_trade_signal'));
525
+ register('get_trade_signal',
526
+ // NPM-PUBLISH-v1.28.1-W1: projected from `servedDescription`, which now owns the
527
+ // alias-composition rule. This line used to BE that rule, while `projectCapabilities()`
528
+ // spread the base description onto aliases — so `tools/list` served 488 chars with the
529
+ // steering hint and `/capabilities` served 346 without it. Two derivations, one of them
530
+ // silently wrong. Behaviour here is unchanged: the resolver returns exactly
531
+ // `TRADE_CALL_DESCRIPTION + TRADE_CALL_ALIAS_SUFFIX` for this name.
532
+ (0, feature_registry_js_1.servedDescription)('get_trade_signal') ?? tool_descriptions_js_1.TRADE_CALL_DESCRIPTION + tool_descriptions_js_1.TRADE_CALL_ALIAS_SUFFIX, TRADE_CALL_SCHEMA, { title: 'Trade Signal', ...tool_annotations_js_1.PUBLIC_READONLY_TOOL_ANNOTATIONS }, makeTradeCallHandler('get_trade_signal'));
526
533
  // ── Tool 2: scan_funding_arb ──
527
534
  register('scan_funding_arb', tool_descriptions_js_1.SCAN_FUNDING_ARB_DESCRIPTION, {
528
535
  // DoS-prevention bounds (delta audit 2026-04-15): minSpreadBps clamped to