@dfm-fi/agent 0.2.744 → 0.2.787

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 (2) hide show
  1. package/package.json +1 -1
  2. package/skills.md +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dfm-fi/agent",
3
- "version": "0.2.744",
3
+ "version": "0.2.787",
4
4
  "description": "DFM v2 MCP server — drive the full DTF launch → deposit → redeem (+ manage) lifecycle from an AI agent against the live API.",
5
5
  "type": "module",
6
6
  "bin": {
package/skills.md CHANGED
@@ -104,6 +104,11 @@ admin. prepare → sign → submit → confirm. The vault must be in MANUAL reba
104
104
  mode and outside the 24h config timelock (clear 4xx otherwise).
105
105
  - Input: `vault` (base58), `assets` (1–15, each `{mint,symbol,allocationBps}`;
106
106
  allocationBps sum to exactly 10000, no duplicate mints).
107
+ - REMOVING an asset the vault still HOLDS: this tool is order-aware and drains a
108
+ dropped asset to ~0 (while still in-basket) BEFORE removing it. If you drive the
109
+ raw on-chain ix yourself instead, dropping a held asset is rejected (error 6046,
110
+ `VaultAssetsNotDecommissioned`) — set its weight to 0, rebalance to drain it,
111
+ then remove it in a second update. USDC is a valid basket leg (cash sleeve, $1).
107
112
 
108
113
  ### transfer_admin (write — GATED) — MANAGER, HIGH-SENSITIVITY ⚠️
109
114
  INITIATE handing vault control to `newAdmin` (2-step — the new admin must ACCEPT