@levitating/tensor-mcp 5.3.1 → 5.3.2

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
@@ -384,6 +384,15 @@ The Tensor user who issued the key is the ceiling: a key can never do more than
384
384
 
385
385
  Newest first. A tool rename or removal is a MAJOR bump; new tools and new optional inputs are MINOR (`docs/contract/MCP.md` §6).
386
386
 
387
+ ### 5.3.2 — zod 4
388
+ Dependency only. The package now runs on zod `^4.6.7`, which stops validating
389
+ an over-long array at `.max()` instead of filing an issue for every element
390
+ past it (GHSA-mrhx-c7xc-m3w5). Every tool keeps its name, its inputs and its
391
+ descriptions. Two things a client lists look different and mean the same: an
392
+ input schema no longer carries `additionalProperties: false` at the top level
393
+ (an unknown argument was dropped before and still is), and a choice between two
394
+ numbers is an `anyOf` of `const`s rather than an `enum`.
395
+
387
396
  ### 5.3.1 — `list_changes` says what a key can see
388
397
  Wording only. Since 2026-11-05 the change feed behind `list_changes` leaves out
389
398
  every row the key's scopes do not read (`docs/contract/DEVELOPER_API.md` §5A.4),
package/dist/index.js CHANGED
@@ -863,7 +863,7 @@ function registerAllTools(server2, api) {
863
863
  op: z.enum(DATA_UPDATER_OP_TYPES).describe(
864
864
  "Operation type. Required `data` fields per op \u2014 asset.upsert: {name, assetClass, symbol?, fmpSymbol?, defaultCurrency?, currentPrice?, notes?} (fmpSymbol is the market-data ticker \u2014 a Yahoo ticker or CG:<coingecko-id>, NOT a Financial Modeling Prep symbol; the batch API still spells it fmpSymbol, unlike the assets API which also accepts tickerSymbol. Omit it on an update to keep the existing price link, send null to unlink); asset_price.record: {price, assetId|assetSymbol|assetName, asOf? (epoch ms), source?, memo?}; position.open: {label, assetClass, currentValue, entityId|entityName?, accountId|accountName?, assetId|assetSymbol|assetName?, liability?, quantity?, currentPrice?, averageCost?, currency?, notes?}; transaction.record: {transactionType (same canonical keys as create_transaction), quantity, amount, price?, fees?, timestamp? (epoch ms), memo?, and positionId OR accountName/entityName + assetSymbol|assetName}; account.upsert: {name, accountType, entityId|entityName, institution?, currency?, notes?}; entity.upsert: {name, type, jurisdiction?, formedDate?, notes?, showInPortfolio?, tags?}"
865
865
  ),
866
- data: z.record(z.unknown()).describe("Operation payload \u2014 see the per-op field list on `op`. Never include organizationId; org scope comes from auth."),
866
+ data: z.record(z.string(), z.unknown()).describe("Operation payload \u2014 see the per-op field list on `op`. Never include organizationId; org scope comes from auth."),
867
867
  clientRef: z.string().optional().describe("Optional caller correlation ID echoed back per-operation in the preview. Max 128 chars.")
868
868
  })).min(1).max(500).describe("1-500 typed operations to preview.")
869
869
  },
@@ -2093,7 +2093,7 @@ function createApiClient(opts) {
2093
2093
  // package.json
2094
2094
  var package_default = {
2095
2095
  name: "@levitating/tensor-mcp",
2096
- version: "5.3.1",
2096
+ version: "5.3.2",
2097
2097
  description: "Tensor MCP \u2014 Model Context Protocol server for the Tensor wealth management API. Exposes the Tensor API as tools for Claude, Cursor, Codex, and any MCP-aware client.",
2098
2098
  type: "module",
2099
2099
  main: "./dist/index.js",
@@ -2128,7 +2128,7 @@ var package_default = {
2128
2128
  license: "UNLICENSED",
2129
2129
  dependencies: {
2130
2130
  "@modelcontextprotocol/sdk": "^1.29.0",
2131
- zod: "^3.24.2"
2131
+ zod: "^4.6.7"
2132
2132
  },
2133
2133
  devDependencies: {
2134
2134
  esbuild: "^0.24.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levitating/tensor-mcp",
3
- "version": "5.3.1",
3
+ "version": "5.3.2",
4
4
  "description": "Tensor MCP — Model Context Protocol server for the Tensor wealth management API. Exposes the Tensor API as tools for Claude, Cursor, Codex, and any MCP-aware client.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -35,7 +35,7 @@
35
35
  "license": "UNLICENSED",
36
36
  "dependencies": {
37
37
  "@modelcontextprotocol/sdk": "^1.29.0",
38
- "zod": "^3.24.2"
38
+ "zod": "^4.6.7"
39
39
  },
40
40
  "devDependencies": {
41
41
  "esbuild": "^0.24.0",