@emblemvault/agentwallet 1.1.1 → 1.2.0
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 +45 -18
- package/{hustle-chat.js → emblemai.js} +371 -418
- package/package.json +6 -17
- package/auth.js +0 -38
- package/conversation.js +0 -83
- package/enhanced-hustle.js +0 -102
- package/reset-conversation.js +0 -44
- package/resume-conversation.js +0 -124
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @emblemvault/agentwallet
|
|
2
2
|
|
|
3
|
-
CLI
|
|
3
|
+
CLI for **Agent Hustle** - EmblemVault's autonomous crypto AI with 256+ trading tools across 7 blockchains.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -8,43 +8,70 @@ CLI tools for **Agent Hustle** - EmblemVault's autonomous crypto AI with 256+ tr
|
|
|
8
8
|
npm install -g @emblemvault/agentwallet
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
### Agent Mode (For AI Agents)
|
|
14
|
+
|
|
15
|
+
Single-shot queries that return a response and exit:
|
|
12
16
|
|
|
13
|
-
### Interactive Chat (Recommended for Humans)
|
|
14
17
|
```bash
|
|
15
|
-
#
|
|
16
|
-
|
|
18
|
+
# Query Hustle AI
|
|
19
|
+
emblemai --agent -p "your-password-16-chars-min" -m "What are my wallet addresses?"
|
|
17
20
|
|
|
18
|
-
#
|
|
19
|
-
|
|
21
|
+
# Using environment variable
|
|
22
|
+
export EMBLEM_PASSWORD="your-password-16-chars-min"
|
|
23
|
+
emblemai --agent -p "$EMBLEM_PASSWORD" -m "Show my balances"
|
|
20
24
|
```
|
|
21
25
|
|
|
22
|
-
###
|
|
26
|
+
### Interactive Mode (For Humans)
|
|
27
|
+
|
|
28
|
+
Full interactive CLI with streaming, tools, and auth menu:
|
|
29
|
+
|
|
23
30
|
```bash
|
|
24
|
-
#
|
|
25
|
-
|
|
31
|
+
# With password argument
|
|
32
|
+
emblemai -p "your-password-16-chars-min"
|
|
26
33
|
|
|
27
|
-
#
|
|
28
|
-
|
|
34
|
+
# Or let it prompt for password
|
|
35
|
+
emblemai
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Reset Conversation
|
|
29
39
|
|
|
30
|
-
|
|
31
|
-
|
|
40
|
+
```bash
|
|
41
|
+
emblemai --reset
|
|
32
42
|
```
|
|
33
43
|
|
|
44
|
+
## Interactive Commands
|
|
45
|
+
|
|
46
|
+
| Command | Description |
|
|
47
|
+
|---------|-------------|
|
|
48
|
+
| `/help` | Show all commands |
|
|
49
|
+
| `/settings` | Show current config |
|
|
50
|
+
| `/auth` | Open auth menu (API key, addresses, etc.) |
|
|
51
|
+
| `/stream on\|off` | Toggle streaming mode |
|
|
52
|
+
| `/debug on\|off` | Toggle debug mode |
|
|
53
|
+
| `/history on\|off` | Toggle history retention |
|
|
54
|
+
| `/reset` | Clear conversation history |
|
|
55
|
+
| `/models` | List available models |
|
|
56
|
+
| `/model <id>` | Set model |
|
|
57
|
+
| `/tools` | List tool categories |
|
|
58
|
+
| `/tools add\|remove <id>` | Manage tools |
|
|
59
|
+
| `/exit` | Exit the CLI |
|
|
60
|
+
|
|
34
61
|
## Example Queries
|
|
35
62
|
|
|
36
63
|
```bash
|
|
37
64
|
# Check wallet addresses
|
|
38
|
-
|
|
65
|
+
emblemai --agent -p "$PASSWORD" -m "What are my wallet addresses?"
|
|
39
66
|
|
|
40
67
|
# Check balances
|
|
41
|
-
|
|
68
|
+
emblemai --agent -p "$PASSWORD" -m "Show all my balances across all chains"
|
|
42
69
|
|
|
43
70
|
# Swap tokens
|
|
44
|
-
|
|
71
|
+
emblemai --agent -p "$PASSWORD" -m "Swap $20 worth of SOL to USDC"
|
|
45
72
|
|
|
46
73
|
# Market trends
|
|
47
|
-
|
|
74
|
+
emblemai --agent -p "$PASSWORD" -m "What's trending on Solana right now?"
|
|
48
75
|
```
|
|
49
76
|
|
|
50
77
|
## Authentication
|