@dfm-fi/agent 0.2.1849 → 0.2.1856
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/mcp-server.js +4 -4
- package/package.json +1 -1
package/dist/mcp-server.js
CHANGED
|
@@ -883,7 +883,7 @@ async ({ vault, shares, slippageBps, expirySecs, confirmPhrase }) => {
|
|
|
883
883
|
server.registerTool('zap_v2_cancel', {
|
|
884
884
|
title: 'Cancel a stalled zap-v2 escrow (recover holdings)',
|
|
885
885
|
description: 'REAL-MONEY (gated). Return a stalled escrow current USDC + per-asset ' +
|
|
886
|
-
'balances to
|
|
886
|
+
'balances to your app wallet as-is (no swaps, no oracle), then close it. Owner ' +
|
|
887
887
|
'anytime; anyone after expiry. Use this when a deposit/redeem is stuck and you ' +
|
|
888
888
|
'just want your funds back. Returns the held balances + the cancel signature.',
|
|
889
889
|
inputSchema: {
|
|
@@ -932,7 +932,7 @@ async ({ vault, loosenPct, newSlippageBps, extendSecs, confirmPhrase }) => {
|
|
|
932
932
|
// ─── WRITE TOOL: update_vault_assets (config-only, same semantics in both lanes) ─
|
|
933
933
|
server.registerTool('update_vault_assets', {
|
|
934
934
|
title: 'Update a vault basket configuration',
|
|
935
|
-
description: 'REAL-MONEY (gated). MANAGER action — only works on a vault
|
|
935
|
+
description: 'REAL-MONEY (gated). MANAGER action — only works on a vault your app wallet ' +
|
|
936
936
|
'ADMINS. Replace the COMPLETE target configuration; this does not trade. ' +
|
|
937
937
|
'`assets` is the new basket — each { mint, symbol, allocationBps }; ' +
|
|
938
938
|
'allocationBps MUST sum to exactly 10000, 2–10 assets, no duplicates. To ' +
|
|
@@ -1275,7 +1275,7 @@ server.registerTool('app_wallet_fund', {
|
|
|
1275
1275
|
// ─── WRITE TOOL: init_rebalancer (enable rebalancing on an owned vault) ──────
|
|
1276
1276
|
server.registerTool('init_rebalancer', {
|
|
1277
1277
|
title: 'Enable rebalancing for a vault (initialize_rebalancer)',
|
|
1278
|
-
description: 'REAL-MONEY (gated). MANAGER action — only works on a vault
|
|
1278
|
+
description: 'REAL-MONEY (gated). MANAGER action — only works on a vault your app wallet ' +
|
|
1279
1279
|
'ADMINS. Creates the vault\'s RebalancerConfig so it can be rebalanced (the ' +
|
|
1280
1280
|
'creator pays the rent — Top H-03): prepare → sign → submit. Vaults launched ' +
|
|
1281
1281
|
'by this agent already get this bundled into create automatically, so this is ' +
|
|
@@ -1311,7 +1311,7 @@ server.registerTool('rebalance_to_targets', {
|
|
|
1311
1311
|
'reads a managed vault and stays quiet about drift IS the failure. Report it with the number even when ' +
|
|
1312
1312
|
'nobody asked, then let the ' +
|
|
1313
1313
|
'manager decide; never fire this unasked. ' +
|
|
1314
|
-
'REAL-MONEY (gated). MANAGER action — only works on a vault
|
|
1314
|
+
'REAL-MONEY (gated). MANAGER action — only works on a vault your app wallet ' +
|
|
1315
1315
|
'ADMINS whose rebalancer is initialized (bundled into launch_vault, or run ' +
|
|
1316
1316
|
'init_rebalancer first). CONVERGES the vault\'s live holdings toward its ' +
|
|
1317
1317
|
'CURRENT onchain CONFIG target weights — you supply NO inputMint/outputMint/' +
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dfm-fi/agent",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1856",
|
|
4
4
|
"description": "DFM v2 MCP server — drive the full fund launch → deposit → redeem (+ manage) lifecycle from an AI agent against the live API.",
|
|
5
5
|
"homepage": "https://app.dfm.finance",
|
|
6
6
|
"type": "module",
|