httpcat-cli 0.3.1-rc.1 → 0.3.1-rc.3

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.
@@ -35,9 +35,18 @@ jobs:
35
35
 
36
36
  - name: Setup GitHub CLI
37
37
  if: github.event_name == 'workflow_run'
38
- uses: cli/cli@v2
39
- with:
40
- token: ${{ secrets.GITHUB_TOKEN }}
38
+ run: |
39
+ if ! command -v gh &> /dev/null; then
40
+ type -p curl >/dev/null || (apt update && apt install curl -y)
41
+ curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
42
+ && chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \
43
+ && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
44
+ && apt update \
45
+ && apt install gh -y
46
+ fi
47
+ echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token
48
+ env:
49
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41
50
 
42
51
  - name: Get version from release
43
52
  id: version
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # httpcat-cli
2
2
 
3
- ![Banner](brand-assets/png/social/og-v12-ears-1280x320-dark.png)
3
+ ![Banner](https://i.imgur.com/V4sixfL.png)
4
4
 
5
5
  > **The CLI that enables agents to use x402 protocol. No middleware. No wallets. Just HTTP-native micropayments.**
6
6
 
@@ -83,13 +83,10 @@ Your seed phrase is generated locally and never transmitted to any server.
83
83
  httpcat swap USDC WETH 1.0
84
84
 
85
85
  # Launchpad operations
86
- httpcat launchpad list
87
- httpcat launchpad create "My Token" "MTK"
88
- httpcat launchpad buy MTK 0.10
89
- httpcat launchpad positions
90
-
91
- # Call any x402 endpoint
92
- httpcat call https://api.example.com/endpoint --method POST --body '{"data": "value"}'
86
+ httpcat list
87
+ httpcat create "My Token" "MTK"
88
+ httpcat buy MTK 0.10
89
+ httpcat positions
93
90
  ```
94
91
 
95
92
  ### MCP Integration
@@ -108,32 +105,42 @@ Your agent can now use all CLI commands as MCP tools. One integration, access to
108
105
 
109
106
  ### Launchpad
110
107
 
111
- - `launchpad list` — List all tokens (FREE)
112
- - `launchpad info <identifier>` — Get token information (FREE)
108
+ - `launchpad list` — List all launchpad tokens (FREE)
109
+ - `launchpad info <identifier>` — Get launchpad token information (FREE)
113
110
  - `launchpad buy <identifier> <amount>` — Buy tokens from bonding curve
114
111
  - `launchpad sell <identifier> <amount>` — Sell tokens to bonding curve ($0.01)
115
- - `launchpad positions` — Get token positions (FREE)
112
+ - `launchpad positions` — Get launchpad token positions (FREE)
113
+ - `create <name> <symbol>` — Create a new token on the 402.cat launchpad
116
114
 
117
- **Shortcuts:** `list`, `info`, `buy`, `sell`, `positions`
115
+ **Shortcuts:** `list`, `info`, `buy`, `sell`, `positions`, `create`
118
116
 
119
117
  ### Entrypoints
120
118
 
121
- - `swap <tokenIn> <tokenOut> <amount>` — Execute swaps via DEX aggregator
122
- - `call <url> [options]` — Call any x402-protected endpoint
119
+ - `swap <tokenIn> <tokenOut> <amount>` — Execute swaps via 402.cat DEX aggregator
123
120
 
124
121
  ### Tools
125
122
 
126
123
  - `rpc` — JSON-RPC proxy for blockchain calls ($0.05)
127
124
 
125
+ ### MCP
126
+
127
+ - `mcp install [llm-name]` — Install or update httpcat MCP server for AI assistants
128
+ - `mcp start` — Start MCP (Model Context Protocol) server
129
+
130
+ ### Configuration
131
+
132
+ - `config` — Configure httpcat (settings, environment, accounts)
133
+ - `config setup` — Run interactive setup wizard
134
+ - `config reset` — Reset configuration (clears all settings)
135
+ - `config completion [shell]` — Generate shell completion script
136
+ - `config update` — Update httpcat CLI to the latest version
137
+ - `use <value>` — Switch account or environment
138
+
128
139
  ### Infrastructure
129
140
 
130
141
  - `accounts` — List all configured accounts
131
- - `mcp install [llm-name]` — Install MCP server for AI assistants
132
- - `mcp start` — Start MCP server
133
- - `config` — Configure httpcat settings
134
- - `use <value>` — Switch account or environment
135
142
 
136
- **Shortcuts:** `balances`, `health`, `transactions`
143
+ **Additional Shortcuts:** `transactions` (→ portfolio transactions), `health` (→ system health), `balances` (→ portfolio balances)
137
144
 
138
145
  ---
139
146
 
@@ -187,7 +194,7 @@ httpcat mcp start
187
194
  Your agent can now:
188
195
 
189
196
  - Use entrypoints (swap, launchpad, rpc)
190
- - Call any x402 endpoint
197
+ - Use launchpad commands (create, buy, sell, list, info, positions)
191
198
  - Discover and compose services
192
199
  - Build capabilities
193
200
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "httpcat-cli",
3
- "version": "0.3.1-rc.1",
3
+ "version": "0.3.1-rc.3",
4
4
  "description": "CLI tool for interacting with 402.cat - create, buy, and sell tokens with x402 payments",
5
5
  "main": "dist/index.js",
6
6
  "bin": {