@savvly/mcp-server 1.0.19 → 1.0.20

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/dist/cli.js CHANGED
@@ -21704,7 +21704,7 @@ var PRODUCT_COMPARISON = {
21704
21704
  var VALID_PRODUCT_TYPES = COMPARISONS.map((c) => c.product_type);
21705
21705
 
21706
21706
  // ../../src/mcp/version.ts
21707
- var SERVER_VERSION = "1.0.19";
21707
+ var SERVER_VERSION = "1.0.20";
21708
21708
 
21709
21709
  // ../../src/mcp/ui/payout-chart.ts
21710
21710
  var PAYOUT_UI_URI = "ui://savvly/payout-chart.html";
@@ -23818,7 +23818,7 @@ function disclosureBlock() {
23818
23818
  };
23819
23819
  }
23820
23820
  var DISCLOSURE_REQUIRED_TERSE = "DISCLOSURE REQUIRED: display `disclosure.text` verbatim and link `disclosure.url` to the user alongside any figures from this response. Required by SEC Marketing Rule and FINRA Rule 2210 \u2014 do not paraphrase or omit.";
23821
- var VISUALIZATION_RECOMMENDED_TERSE = "VISUALIZATION: this tool renders its chart inline as an interactive widget (MCP Apps \u2014 see `_meta.ui`); your host displays it automatically from the tool result. That widget IS the visualization \u2014 do NOT draw, generate, or render your own chart, graph, or table of these numbers (no duplicate). Summarize the key figures in prose and show the `disclosure` text and link.";
23821
+ var VISUALIZATION_RECOMMENDED_TERSE = "VISUALIZATION: this tool emits an interactive chart widget (MCP Apps \u2014 see `_meta.ui`). MCP-Apps-capable hosts render it inline and editable; other clients render only your text and show no chart. Do NOT draw, generate, or render your own chart, graph, or table of these numbers \u2014 there is no fallback chart for you to build, so never produce a duplicate. Do NOT claim or imply a chart is visible (avoid 'the chart above shows\u2026'); you cannot tell whether the host rendered the widget. Summarize the key figures in prose and show the `disclosure` text and link, and reference the chart only conditionally (e.g. 'if your client shows the interactive chart, its fields are editable to re-run the projection').";
23822
23822
  var INPUTS_OPTIONAL_NO_PROMPT_TERSE = "INPUTS: every parameter is OPTIONAL and defaults to a sensible value. Call this tool IMMEDIATELY \u2014 pass only the values the user explicitly stated and omit the rest. Do NOT ask the user for starting values, assumptions, or missing parameters before calling; the rendered widget has editable fields so they adjust age, amounts, and other assumptions inline after it appears.";
23823
23823
  var SAVVLY_VS_MARKET_ALONE_PAYOUT_METHODOLOGY = "Payout methodology \u2014 Savvly vs market alone: the payout values are calculated by comparing two investors of the same age committing the same principal. Investor 1 invests in the market with Savvly's Longevity Benefit Fund; Investor 2 invests in the market alone (no longevity overlay). To make the comparison apples-to-apples, at each milestone age (80, 85, 90, 95) Investor 2 withdraws from their market alone portfolio the same dollar amount Investor 1 receives as a payout from Savvly. The `payout_market_alone_*` and `total_market_alone_*` figures are therefore what Investor 2 can actually withdraw to match Savvly's payouts before running out \u2014 they fall to 0 once the market alone portfolio is depleted. The `savvly_upside_*` (and `total_savvly_upside_*`) fields quantify how much more total money Investor 1 receives in payouts from Savvly than Investor 2 is able to withdraw over time to match those payouts.";
23824
23824
  function summarizePayouts(envelope, depositType, deposited) {
@@ -24497,6 +24497,9 @@ function createMcpServer() {
24497
24497
  server.server.setRequestHandler(ListPromptsRequestSchema, async () => ({
24498
24498
  prompts: []
24499
24499
  }));
24500
+ server.server.registerCapabilities({
24501
+ extensions: { "io.modelcontextprotocol/ui": {} }
24502
+ });
24500
24503
  return server;
24501
24504
  }
24502
24505