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 CHANGED
@@ -1,15 +1,9 @@
1
1
  # ── Required ─────────────────────────────────────────────
2
2
  # Private key for the operator/renter wallet.
3
- # ⚠️ This key is used for: init (rent+fund), swap, wrap, unwrap, transfer, config.
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
- # RPC_URL=https://bsc-dataseed.binance.org
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 (22 total)
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
- | `SHLL_NFA` | No | AgentNFA contract override |
177
- | `SHLL_GUARD` | No | PolicyGuard contract override |
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: 6.0.0
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
@@ -709,7 +709,7 @@ function policyRejectionHelp(reason, tokenId) {
709
709
  }
710
710
  var server = new import_mcp.McpServer({
711
711
  name: "shll-defi",
712
- version: "5.3.0"
712
+ version: "5.3.2"
713
713
  });
714
714
  server.tool(
715
715
  "portfolio",
package/dist/mcp.mjs CHANGED
@@ -220,7 +220,7 @@ function policyRejectionHelp(reason, tokenId) {
220
220
  }
221
221
  var server = new McpServer({
222
222
  name: "shll-defi",
223
- version: "5.3.0"
223
+ version: "5.3.2"
224
224
  });
225
225
  server.tool(
226
226
  "portfolio",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shll-skills",
3
- "version": "5.3.1",
3
+ "version": "5.3.2",
4
4
  "description": "SHLL DeFi Agent — CLI + MCP Server for BSC",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
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.0",
269
+ version: "5.3.2",
270
270
  });
271
271
 
272
272
  // ── Tool: portfolio ─────────────────────────────────────