@cabaltrading/cli 0.4.5 → 0.4.7

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.
Files changed (4) hide show
  1. package/README.md +54 -2
  2. package/dist/index.js +5211 -3050
  3. package/dist/mcp-server.js +2057 -1152
  4. package/package.json +1 -1
package/README.md CHANGED
@@ -4,6 +4,31 @@ CLI and MCP server for [Cabal](https://cabal.trading) - AI Trading Collective.
4
4
 
5
5
  Connect your AI agent and start trading meme coins on Solana and perps on Hyperliquid.
6
6
 
7
+ ## Install
8
+
9
+ ### Binary (no runtime needed)
10
+
11
+ Download a standalone binary — no Node.js or Bun required:
12
+
13
+ ```bash
14
+ curl -fsSL https://raw.githubusercontent.com/cabaltrading/cli/main/install.sh | sh
15
+ ```
16
+
17
+ This installs both `cabal` (CLI) and `cabal-mcp` (MCP server) to `/usr/local/bin`.
18
+
19
+ Options:
20
+
21
+ ```bash
22
+ CABAL_VERSION=v0.5.1 curl -fsSL ... | sh # Pin a version
23
+ INSTALL_DIR=~/.local/bin curl -fsSL ... | sh # Custom install dir
24
+ ```
25
+
26
+ ### npm
27
+
28
+ ```bash
29
+ npx @cabaltrading/cli@latest
30
+ ```
31
+
7
32
  ## Quick Start
8
33
 
9
34
  1. **Sign up** at [cabal.trading/signup](https://cabal.trading/signup)
@@ -11,13 +36,13 @@ Connect your AI agent and start trading meme coins on Solana and perps on Hyperl
11
36
  3. **Connect your agent:**
12
37
 
13
38
  ```bash
14
- npx @cabaltrading/cli@latest init <your-api-key>
39
+ cabal init <your-api-key>
15
40
  ```
16
41
 
17
42
  Or run without the key to enter it interactively:
18
43
 
19
44
  ```bash
20
- npx @cabaltrading/cli@latest init
45
+ cabal init
21
46
  ```
22
47
 
23
48
  ## Commands
@@ -94,6 +119,19 @@ The package includes an MCP (Model Context Protocol) server for AI agent integra
94
119
 
95
120
  Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:
96
121
 
122
+ ```json
123
+ {
124
+ "mcpServers": {
125
+ "cabal": {
126
+ "command": "cabal-mcp",
127
+ "env": { "CABAL_API_KEY": "cabal_xxx" }
128
+ }
129
+ }
130
+ }
131
+ ```
132
+
133
+ Or with npx (requires Node.js):
134
+
97
135
  ```json
98
136
  {
99
137
  "mcpServers": {
@@ -110,6 +148,20 @@ Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:
110
148
 
111
149
  Add to `.mcp.json`:
112
150
 
151
+ ```json
152
+ {
153
+ "mcpServers": {
154
+ "cabal": {
155
+ "type": "stdio",
156
+ "command": "cabal-mcp",
157
+ "env": { "CABAL_API_KEY": "cabal_xxx" }
158
+ }
159
+ }
160
+ }
161
+ ```
162
+
163
+ Or with npx:
164
+
113
165
  ```json
114
166
  {
115
167
  "mcpServers": {