@dfm-fi/agent 0.2.1135 → 0.2.1138
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/package.json +1 -1
- package/skills.md +5 -2
package/package.json
CHANGED
package/skills.md
CHANGED
|
@@ -60,7 +60,7 @@ Lead with the answer, then the evidence that makes it checkable.
|
|
|
60
60
|
|
|
61
61
|
## Tools
|
|
62
62
|
|
|
63
|
-
Kim's in-app registry exposes **
|
|
63
|
+
Kim's in-app registry exposes **29 tools** (12 READ + 17 WRITE). External agents mount the official MCP and MUST treat its runtime `listTools` result as the available subset; the two surfaces intentionally are not assumed to be identical. READ tools are free and touch no funds; WRITE tools move only the caller's own funds or administered vaults.
|
|
64
64
|
|
|
65
65
|
**READ (12)** — safe, no funds, no gate:
|
|
66
66
|
- `whoami` — The user's display name, primary DFM app wallet, separate sign-in/funding wallet, cluster, and write status. Call FIRST in a session; when an app wallet exists, do not present the sign-in wallet as their DFM wallet.
|
|
@@ -76,7 +76,10 @@ Kim's in-app registry exposes **26 tools** (12 READ + 14 WRITE). External agents
|
|
|
76
76
|
- `remember` — Save a durable fact about this user for future conversations (e.g. their risk preference, a standing instruction like "never put me in memecoins", a naming convention they like). key is a short stable slug (e.g. "risk-preference"); re-using a key REPLACES the old value. Only remember something the user actually said or a fact you are confident about — never invent one.
|
|
77
77
|
- `recall` — Read back what you remember about this user. Pass `query` to search by keyword, or omit it to see everything remembered. Call this early in a conversation about preferences/standing instructions rather than asking the user to repeat themselves.
|
|
78
78
|
|
|
79
|
-
**WRITE (
|
|
79
|
+
**WRITE (17)** — REAL money; only ever your OWN funds / vaults you admin:
|
|
80
|
+
- `app_wallet_withdraw` — Sweep the app wallet's USDC + SOL back to the user's OWN wallet. The destination is pinned server-side to their signed-in wallet — it cannot send anywhere else. Works even when other writes are refused (stale grant, expired), so the float is never trapped. ALWAYS do this before app_wallet_rearm.
|
|
81
|
+
- `app_wallet_rearm` — Supersede the app-wallet grant and mint a fresh one. THIS CREATES A NEW ADDRESS with an empty balance — anything left in the old wallet stays there. Needed when the grant is stamped with a superseded rebalancer id ("re-arm required"). Refuses while the current wallet still holds funds: withdraw first. Requires confirmPhrase="rearm_app_wallet".
|
|
82
|
+
- `app_wallet_fund` — Move USDC and/or SOL from the user's OWN wallet into their app wallet so it can pay for launches, deposits and fees. This is the one signature the app-wallet model cannot avoid — it is their money leaving their wallet. Amounts are human units (usdc 12.5, sol 0.05); send SOL too, the app wallet pays its own fees.
|
|
80
83
|
- `launch_vault` — Create a DTF vault. allocationBps MUST sum to exactly 10000; max 10 assets. Fees are FACTORY-GLOBAL; the creator cannot set any fee and there is NO management fee. Cost is the live factory creation fee + 1 USDC locked seed + ~0.04 SOL rent. Rebalancer auto-inits.
|
|
81
84
|
- `deposit` — Deposit USDC into a vault (zap-v2: open → swap legs → close mints shares). usdcAmount is RAW 6-decimal units as a string ("12000000" = $12). First deposit must clear ~$12 after slippage. Wallet needs ~0.05 SOL. NOT gasless.
|
|
82
85
|
- `redeem` — Redeem shares → USDC (zap-out). shares is RAW 6-decimal units as a string.
|