shll-skills 5.3.3 → 5.3.4
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/SKILL.md +7 -5
- package/dist/mcp.js +2 -2
- package/dist/mcp.mjs +2 -2
- package/package.json +1 -1
- package/src/mcp.ts +2 -2
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: 5.3.
|
|
4
|
+
version: 5.3.4
|
|
5
5
|
author: SHLL Team
|
|
6
6
|
website: https://shll.run
|
|
7
7
|
twitter: https://twitter.com/shllrun
|
|
@@ -92,6 +92,8 @@ Show the result, then ask: *"Do you already have a SHLL Agent token-id (a number
|
|
|
92
92
|
|
|
93
93
|
### Step 3: Create agent — YOU do this, not the user
|
|
94
94
|
|
|
95
|
+
⚠️ **CRITICAL: You MUST call `listings` first to get the current listing IDs. NEVER use a hardcoded or cached listing ID — listings can be delisted at any time.**
|
|
96
|
+
|
|
95
97
|
**3a.** YOU query available agent templates:
|
|
96
98
|
```bash
|
|
97
99
|
shll-run listings
|
|
@@ -102,18 +104,18 @@ Show the user a clear list:
|
|
|
102
104
|
|
|
103
105
|
| # | Name | Type | Price/day | Min days |
|
|
104
106
|
|---|------|------|-----------|----------|
|
|
105
|
-
| 1 | LLM Trader Agent | llm_trader | 0
|
|
107
|
+
| 1 | LLM Trader Agent | llm_trader | Free (0 BNB) | 1 |
|
|
106
108
|
|
|
107
109
|
*"Which one do you want? And how many days? (default: 1 day, can extend later)"*
|
|
108
110
|
|
|
109
|
-
**3b.** Once user picks, YOU execute:
|
|
111
|
+
**3b.** Once user picks, YOU execute using the **listingId from the `listings` result** (NOT a hardcoded value):
|
|
110
112
|
```bash
|
|
111
|
-
shll-run setup-guide --listing-id <
|
|
113
|
+
shll-run setup-guide --listing-id <LISTING_ID_FROM_STEP_3A> --days <DAYS>
|
|
112
114
|
```
|
|
113
115
|
|
|
114
116
|
Take the `setupUrl` from the JSON output and tell the user:
|
|
115
117
|
|
|
116
|
-
*"I've prepared everything. Now open this link to **
|
|
118
|
+
*"I've prepared everything. Now open this link to **authorize the operator wallet**:*
|
|
117
119
|
*👉 `<setupUrl>`*
|
|
118
120
|
|
|
119
121
|
*⚠️ Connect your **personal wallet** (MetaMask / hardware wallet) — NOT the operator wallet.*
|
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.
|
|
712
|
+
version: "5.3.4"
|
|
713
713
|
});
|
|
714
714
|
server.tool(
|
|
715
715
|
"portfolio",
|
|
@@ -1441,7 +1441,7 @@ server.tool(
|
|
|
1441
1441
|
);
|
|
1442
1442
|
server.tool(
|
|
1443
1443
|
"setup_guide",
|
|
1444
|
-
"Generate step-by-step dual-wallet onboarding instructions and shll.run/setup URL",
|
|
1444
|
+
"Generate step-by-step dual-wallet onboarding instructions and shll.run/setup URL. IMPORTANT: Always call the 'listings' tool first to get the current listing_id \u2014 do NOT use a cached or default value, as listings can be delisted.",
|
|
1445
1445
|
{
|
|
1446
1446
|
listing_id: import_zod.z.string().default(DEFAULT_LISTING_ID).describe("Template listing ID (bytes32 hex)"),
|
|
1447
1447
|
days: import_zod.z.number().default(1).describe("Number of days to rent")
|
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.
|
|
223
|
+
version: "5.3.4"
|
|
224
224
|
});
|
|
225
225
|
server.tool(
|
|
226
226
|
"portfolio",
|
|
@@ -952,7 +952,7 @@ server.tool(
|
|
|
952
952
|
);
|
|
953
953
|
server.tool(
|
|
954
954
|
"setup_guide",
|
|
955
|
-
"Generate step-by-step dual-wallet onboarding instructions and shll.run/setup URL",
|
|
955
|
+
"Generate step-by-step dual-wallet onboarding instructions and shll.run/setup URL. IMPORTANT: Always call the 'listings' tool first to get the current listing_id \u2014 do NOT use a cached or default value, as listings can be delisted.",
|
|
956
956
|
{
|
|
957
957
|
listing_id: z.string().default(DEFAULT_LISTING_ID).describe("Template listing ID (bytes32 hex)"),
|
|
958
958
|
days: z.number().default(1).describe("Number of days to rent")
|
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.4",
|
|
270
270
|
});
|
|
271
271
|
|
|
272
272
|
// ── Tool: portfolio ─────────────────────────────────────
|
|
@@ -1090,7 +1090,7 @@ server.tool(
|
|
|
1090
1090
|
// ── Tool: setup_guide ───────────────────────────────────
|
|
1091
1091
|
server.tool(
|
|
1092
1092
|
"setup_guide",
|
|
1093
|
-
"Generate step-by-step dual-wallet onboarding instructions and shll.run/setup URL",
|
|
1093
|
+
"Generate step-by-step dual-wallet onboarding instructions and shll.run/setup URL. IMPORTANT: Always call the 'listings' tool first to get the current listing_id — do NOT use a cached or default value, as listings can be delisted.",
|
|
1094
1094
|
{
|
|
1095
1095
|
listing_id: z.string().default(DEFAULT_LISTING_ID).describe("Template listing ID (bytes32 hex)"),
|
|
1096
1096
|
days: z.number().default(1).describe("Number of days to rent"),
|