@dfm-fi/agent 0.2.1967 → 0.2.1968
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/config.js +1 -1
- package/dist/owner-tx-verify.js +2 -2
- package/package.json +1 -1
package/dist/config.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* operator from a file path (`DFM_AGENT_KEYPAIR_PATH`) or an env-injected
|
|
7
7
|
* secret (`DFM_AGENT_KEYPAIR_JSON`). The keypair is NEVER passed through the
|
|
8
8
|
* MCP protocol, tool arguments, or tool results, and is NEVER logged.
|
|
9
|
-
* - The protocol wallet
|
|
9
|
+
* - The protocol wallet must NOT be used here. The agent signs with
|
|
10
10
|
* a throwaway test wallet funded with a few dollars of USDC.
|
|
11
11
|
* - All real-money WRITE tools (deposit / redeem) are GATED behind
|
|
12
12
|
* `DFM_AGENT_WRITE_ENABLED=true` and default OFF.
|
package/dist/owner-tx-verify.js
CHANGED
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
* the app wallet, source = its input-mint ATA, destination = its
|
|
13
13
|
* output-mint ATA, input amount = the requested amount, slippage ≤
|
|
14
14
|
* the requested slippage, platform fee ≤ 20 bps to none or DFM's
|
|
15
|
-
* (
|
|
15
|
+
* (PROTOCOL_WALLET) ATA of either mint, and a quoted output that — after its
|
|
16
16
|
* own slippage — is at least what an INDEPENDENT Jupiter quote
|
|
17
17
|
* (fetched by the MCP, never via DFM) gives after the requested
|
|
18
|
-
* slippage, minus 0.5% drift · at most one SOL transfer to
|
|
18
|
+
* slippage, minus 0.5% drift · at most one SOL transfer to PROTOCOL_WALLET ≤
|
|
19
19
|
* 0.05 SOL, and only when the route carries no token fee ·
|
|
20
20
|
* ComputeBudget: ≤ 1 unit limit (≤ 1.4M), ≤ 1 unit price with a
|
|
21
21
|
* total priority fee ≤ 0.001 SOL, heap frame; nothing else.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dfm-fi/agent",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1968",
|
|
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/docs/agent",
|
|
6
6
|
"mcpName": "io.github.DFM-Finance/dfm-agent",
|