This release includes 3 breaking changes for platform teams planning a safe upgrade.
Published 1mo
MCP Developer Tools
✓ No known CVEs patched
✓ No known CVEs patched in this version
Summary
AI summaryRenamed get_pnl tool and SDK method to get_position_status, deprecating the old names.
Full changelog
Changed
- Renamed
get_pnlMCP tool toget_position_status— accurately reflects that the tool returns current IL and token amounts, not cost-basis PnL - Renamed
getUnrealizedPnLSDK method togetPositionStatus(old name kept as@deprecatedalias) - Added
PositionStatustype (replacesUnrealizedPnL, kept as deprecated alias)
Fixed
getPositionStatusnow fetches impermanent loss for all positions in parallel withPromise.allinstead of sequentiallygetPortfolioValue: non-WCSPR LP positions (e.g. USDT/USDC) are now returned in a separateunpricedPositionslist instead of being silently excluded from portfolio totals- Removed misleading
* 2ncomment that incorrectly stated all pools are 50/50 - Added
PortfolioPositionnamed interface exported from SDK types
Added
- 2 new unit tests covering WCSPR vs non-WCSPR pool separation and empty-portfolio edge case (93 tests total)
Packages
@make-software/[email protected]@make-software/[email protected]
Both packages also published to npm manually prior to this release.
Breaking Changes
- Renamed `get_pnl` MCP tool to `get_position_status`
- Renamed `getUnrealizedPnL` SDK method to `getPositionStatus` (old name deprecated)
- Replaced `UnrealizedPnL` type with `PositionStatus`; old type kept as deprecated alias
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About make-software/cspr-trade-mcp
Non-custodial DEX trading on the Casper Network via CSPR.trade
Related context
Beta — feedback welcome: [email protected]