shll-skills 5.3.1 → 5.3.2
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/.env.example +2 -8
- package/README.md +5 -4
- package/SKILL.md +3 -1
- package/dist/mcp.js +1 -1
- package/dist/mcp.mjs +1 -1
- package/package.json +1 -1
- package/src/mcp.ts +1 -1
package/.env.example
CHANGED
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
# ── Required ─────────────────────────────────────────────
|
|
2
2
|
# Private key for the operator/renter wallet.
|
|
3
|
-
# ⚠️ This key is used for:
|
|
3
|
+
# ⚠️ This key is used for: swap, wrap, unwrap, transfer, lend, redeem, config.
|
|
4
4
|
# ⚠️ Use a DEDICATED wallet with limited funds. Never use your main wallet.
|
|
5
5
|
RUNNER_PRIVATE_KEY=0x_YOUR_PRIVATE_KEY_HERE
|
|
6
6
|
|
|
7
7
|
# ── Optional Overrides ───────────────────────────────────
|
|
8
8
|
# BSC RPC endpoint (default: public BSC RPC)
|
|
9
|
-
#
|
|
10
|
-
|
|
11
|
-
# AgentNFA contract address (default: mainnet deployment)
|
|
12
|
-
# NFA_ADDRESS=0x...
|
|
13
|
-
|
|
14
|
-
# PolicyGuardV4 contract address (default: mainnet deployment)
|
|
15
|
-
# GUARD_ADDRESS=0x...
|
|
9
|
+
# SHLL_RPC=https://bsc-dataseed.binance.org
|
package/README.md
CHANGED
|
@@ -65,7 +65,7 @@ RUNNER_PRIVATE_KEY=0x... shll-mcp
|
|
|
65
65
|
|
|
66
66
|
The server communicates via **stdio** using JSON-RPC 2.0. Send `tools/list` to discover all available tools.
|
|
67
67
|
|
|
68
|
-
### Available MCP Tools (
|
|
68
|
+
### Available MCP Tools (24 total)
|
|
69
69
|
|
|
70
70
|
| Tool | Type | Description |
|
|
71
71
|
|------|------|-------------|
|
|
@@ -91,6 +91,7 @@ The server communicates via **stdio** using JSON-RPC 2.0. Send `tools/list` to d
|
|
|
91
91
|
| `generate_wallet` | Info | Create new operator wallet (address + key) |
|
|
92
92
|
| `execute_calldata` | Write | Execute raw calldata from any source through PolicyGuard |
|
|
93
93
|
| `execute_calldata_batch` | Write | Execute multiple calldata actions atomically through PolicyGuard |
|
|
94
|
+
| `token_restriction` | Read | View token whitelist restriction status + whitelisted tokens |
|
|
94
95
|
|
|
95
96
|
---
|
|
96
97
|
|
|
@@ -172,9 +173,9 @@ AI Agent -> CLI/MCP -> PolicyClient.validate() -> PolicyGuard (on-chain) -> vaul
|
|
|
172
173
|
| Variable | Required | Description |
|
|
173
174
|
|----------|----------|-------------|
|
|
174
175
|
| `RUNNER_PRIVATE_KEY` | Yes | Operator wallet key (~$1 BNB for gas) |
|
|
175
|
-
| `SHLL_RPC` | No | BSC RPC URL override |
|
|
176
|
-
|
|
177
|
-
|
|
176
|
+
| `SHLL_RPC` | No | BSC RPC URL override (default: public BSC RPC) |
|
|
177
|
+
|
|
178
|
+
> **Note:** Contract addresses (AgentNFA, PolicyGuard) are hardcoded for security reasons. Override env vars are intentionally not supported to prevent supply-chain attacks.
|
|
178
179
|
|
|
179
180
|
## Links
|
|
180
181
|
|
package/SKILL.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: shll-run
|
|
3
3
|
description: Execute DeFi transactions on BSC via SHLL AgentNFA. The AI handles all commands — users only need to chat.
|
|
4
|
-
version:
|
|
4
|
+
version: 5.3.2
|
|
5
5
|
author: SHLL Team
|
|
6
6
|
website: https://shll.run
|
|
7
7
|
twitter: https://twitter.com/shllrun
|
|
@@ -196,6 +196,8 @@ Supported lending tokens: **BNB, USDT, USDC, BUSD**
|
|
|
196
196
|
| `shll-run config -k <ID> --tx-limit <BNB> --daily-limit <BNB> --cooldown <SEC>` | Tighten risk limits |
|
|
197
197
|
| `shll-run status -k <ID>` | One-shot security overview (vault, operator, policies, activity) |
|
|
198
198
|
| `shll-run history -k <ID> [--limit N]` | Recent transactions + policy rejections |
|
|
199
|
+
| `shll-run my-agents` | List all agents where current operator key is authorized |
|
|
200
|
+
| `shll-run token-restriction -k <ID>` | View token whitelist restriction status + whitelisted tokens |
|
|
199
201
|
|
|
200
202
|
**Supported tokens:** BNB, USDC, USDT, WBNB, CAKE, ETH, BTCB, DAI, BUSD, or any 0x address.
|
|
201
203
|
|
package/dist/mcp.js
CHANGED
package/dist/mcp.mjs
CHANGED
package/package.json
CHANGED
package/src/mcp.ts
CHANGED
|
@@ -266,7 +266,7 @@ function policyRejectionHelp(reason: string | undefined, tokenId: string): Recor
|
|
|
266
266
|
|
|
267
267
|
const server = new McpServer({
|
|
268
268
|
name: "shll-defi",
|
|
269
|
-
version: "5.3.
|
|
269
|
+
version: "5.3.2",
|
|
270
270
|
});
|
|
271
271
|
|
|
272
272
|
// ── Tool: portfolio ─────────────────────────────────────
|