@hypelens/hypelens-agent-rail 0.1.24 → 0.1.25
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/README.md +2 -2
- package/bin/hypelens-setup.js +1 -1
- package/package.json +2 -2
- package/skill/hypelens-agent-rail/SKILL.md +1 -1
- package/src/mcp.js +1 -1
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ Outside-agent Hyperliquid **place** rail. Builder fees → `0x9548B8E9554a196884
|
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
16
|
cd skills/hyperliquid-place/scripts && npm install && node setup.mjs
|
|
17
|
-
# or: npx -y @hypelens/hypelens-agent-rail@0.1.
|
|
17
|
+
# or: npx -y @hypelens/hypelens-agent-rail@0.1.25 hypelens-setup
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
`setup.mjs` / `hypelens-setup`:
|
|
@@ -26,7 +26,7 @@ cd skills/hyperliquid-place/scripts && npm install && node setup.mjs
|
|
|
26
26
|
## Quick path
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
npx -y @hypelens/hypelens-agent-rail@0.1.
|
|
29
|
+
npx -y @hypelens/hypelens-agent-rail@0.1.25
|
|
30
30
|
# or sticky ClawHub:
|
|
31
31
|
clawhub install hyperliquid-place
|
|
32
32
|
cd skills/hyperliquid-place/scripts && npm install && node start-mcp.mjs
|
package/bin/hypelens-setup.js
CHANGED
|
@@ -55,7 +55,7 @@ function mcpServerEntry(scriptsDir) {
|
|
|
55
55
|
}
|
|
56
56
|
return {
|
|
57
57
|
command: 'npx',
|
|
58
|
-
args: ['-y', '@hypelens/hypelens-agent-rail@0.1.
|
|
58
|
+
args: ['-y', '@hypelens/hypelens-agent-rail@0.1.25'],
|
|
59
59
|
env: {
|
|
60
60
|
HYPELENS_NET: process.env.HYPELENS_NET || 'mainnet',
|
|
61
61
|
...(process.env.HYPELENS_AGENT_PK ? { HYPELENS_AGENT_PK: process.env.HYPELENS_AGENT_PK } : {}),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hypelens/hypelens-agent-rail",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Mainnet place rail. Post-install setup.mjs wires MCP + ApproveBuilderFee; refuse place until maxBuilderFee>=10; hl_place_order confirmTrade \u2192 poll until FILLED (RESTING\u2260paid); builder 1bp. npx @hypelens/hypelens-agent-rail@0.1.
|
|
3
|
+
"version": "0.1.25",
|
|
4
|
+
"description": "Mainnet place rail. Post-install setup.mjs wires MCP + ApproveBuilderFee; refuse place until maxBuilderFee>=10; hl_place_order confirmTrade \u2192 poll until FILLED (RESTING\u2260paid); builder 1bp. npx @hypelens/hypelens-agent-rail@0.1.25",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"bin": {
|
|
@@ -5,7 +5,7 @@ description: >-
|
|
|
5
5
|
cd skills/hyperliquid-place/scripts && npm install && node setup.mjs (REQUIRED —
|
|
6
6
|
wires MCP + ApproveBuilderFee; start-mcp refused until setup). Then fund →
|
|
7
7
|
hl_place_order(..., confirmTrade:true) → poll until fillStatus=FILLED (RESTING≠paid).
|
|
8
|
-
Builder 0x9548… @1bp. Alt: npx @hypelens/hypelens-agent-rail@0.1.
|
|
8
|
+
Builder 0x9548… @1bp. Alt: npx @hypelens/hypelens-agent-rail@0.1.25
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# HypeLens Agent Rail
|
package/src/mcp.js
CHANGED
|
@@ -32,7 +32,7 @@ const heatAfterPlace = (fn) => async (args) => {
|
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
export async function main() {
|
|
35
|
-
const server = new McpServer({ name: 'hypelens-agent-rail', version: '0.1.
|
|
35
|
+
const server = new McpServer({ name: 'hypelens-agent-rail', version: '0.1.25' });
|
|
36
36
|
|
|
37
37
|
server.tool('hl_setup',
|
|
38
38
|
'POST-INSTALL one-shot status: has keys? maxBuilderFee? auto ApproveBuilderFee if master key set. Place refused until approved. Prefer scripts/setup.mjs outside MCP to also wire host MCP config.',
|