cashclaw 1.5.0 → 1.6.2
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/CHANGELOG.md +204 -148
- package/README.md +53 -24
- package/package.json +55 -55
- package/src/cli/commands/hyrve.js +214 -3
- package/src/cli/commands/init.js +6 -3
- package/src/dashboard/public/index.html +2 -2
- package/src/engine/scheduler.js +78 -0
- package/src/integrations/hyrve-bridge.js +835 -0
- package/src/integrations/mpp-bridge.js +67 -67
package/CHANGELOG.md
CHANGED
|
@@ -1,148 +1,204 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to CashClaw will be documented in this file.
|
|
4
|
-
|
|
5
|
-
## [1.
|
|
6
|
-
|
|
7
|
-
###
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
-
|
|
69
|
-
-
|
|
70
|
-
-
|
|
71
|
-
-
|
|
72
|
-
-
|
|
73
|
-
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
- `hyrve
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
-
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
-
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
-
|
|
102
|
-
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
-
|
|
108
|
-
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
-
|
|
112
|
-
-
|
|
113
|
-
-
|
|
114
|
-
-
|
|
115
|
-
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
-
|
|
127
|
-
-
|
|
128
|
-
-
|
|
129
|
-
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
### Fixed
|
|
139
|
-
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to CashClaw will be documented in this file.
|
|
4
|
+
|
|
5
|
+
## [1.6.2] - 2026-04-05
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
- **Critical: `agent_id` null after init** ([#3](https://github.com/ertugrulakben/HYRVE-AI/issues/3)): `registerAgent()` returns `data.agent_id` nested under `data` object, but `init` was reading `hyrveResult.agent_id` (always `null`). Now correctly reads `hyrveResult.data.agent_id`
|
|
9
|
+
- **Login does not populate `agent_id`**: After `cashclaw hyrve login`, the command now auto-fetches the user's agent profile and saves `agent_id` + `registered: true` to config
|
|
10
|
+
- **`claim` returns "already owned" without saving**: When `cashclaw hyrve claim` gets a 400 "already own" response, it now fetches the owned agent and saves its ID to local config instead of failing
|
|
11
|
+
- **`api_key` not saved on init**: Registration API key from self-register is now persisted to config
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
- `getMyAgents()` bridge function to fetch authenticated user's agents via `GET /agents/me`
|
|
15
|
+
|
|
16
|
+
### Contributors
|
|
17
|
+
- @nikatronic (bug report [#3](https://github.com/ertugrulakben/HYRVE-AI/issues/3))
|
|
18
|
+
|
|
19
|
+
## [1.6.1] - 2026-03-27
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
- **Dashboard wallet crash**: Added `escrow_release`, `escrow_hold`, `withdrawal` transaction types with icons and colors. Unknown types now fallback gracefully
|
|
23
|
+
- **Approve/Delete/Revoke button failures**: Fixed "Body cannot be empty" error by ensuring POST requests always include `{}` body and DELETE requests omit Content-Type when no body
|
|
24
|
+
- **Deliverables rendering**: Structured objects (`{type, content}`) now display content properly instead of raw JSON
|
|
25
|
+
- **Backend API**: Custom JSON content-type parser accepts empty request bodies
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
- `api.ts` fetch method: smart Content-Type handling based on HTTP method and body presence
|
|
29
|
+
- Transaction type union expanded: `payment | payout | refund | fee | escrow_release | escrow_hold | withdrawal`
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
## [1.6.0] - 2026-03-21
|
|
33
|
+
|
|
34
|
+
### Added
|
|
35
|
+
- 30+ new bridge functions covering ALL HYRVE API endpoints
|
|
36
|
+
- Auth: `register`, `refreshToken`, `updateProfile`, `forgotPassword`, `resetPassword`, `verifyEmail`, `resendVerification`
|
|
37
|
+
- Agents: `registerAgentDashboard`, `updateAgent`, `deleteAgent`
|
|
38
|
+
- Orders: `createOrder`, `completeOrder`, `reviewOrder`, `counterOffer`, `acceptCounter`
|
|
39
|
+
- Payments: `propose`, `checkout`, `verifyPayment`, `getPaymentConfig`
|
|
40
|
+
- API Keys: `createApiKey`, `listApiKeys`, `revokeApiKey`
|
|
41
|
+
- Admin: `adminGetStats`, `adminListUsers`, `adminBanUser`, `adminUnbanUser`, `adminListOrders`, `adminListAgents`, `adminDelistAgent`, `adminGetDisputes`
|
|
42
|
+
- Other: `getPlatformStats`, `uploadFile`
|
|
43
|
+
- Job polling daemon (`cashclaw hyrve poll`) with configurable interval
|
|
44
|
+
- CLI: `cashclaw hyrve poll` -- start job polling daemon
|
|
45
|
+
- CLI: `cashclaw hyrve stats` -- show platform statistics
|
|
46
|
+
- CLI: `cashclaw hyrve keys` -- list/create/revoke API keys
|
|
47
|
+
- CLI: `cashclaw hyrve counter <orderId> <amount>` -- send counter-offer
|
|
48
|
+
- CLI: `cashclaw hyrve complete <orderId>` -- complete/approve order
|
|
49
|
+
- CLI: `cashclaw hyrve review <orderId> <rating>` -- leave review (1-5)
|
|
50
|
+
|
|
51
|
+
### Fixed
|
|
52
|
+
- Wallet display now uses `/wallet` endpoint with proper balance details
|
|
53
|
+
- Bridge functions use consistent auth headers (JWT preferred, API key fallback)
|
|
54
|
+
|
|
55
|
+
### Changed
|
|
56
|
+
- Total bridge functions: 20 -> 50+
|
|
57
|
+
- Full HYRVE API v1.1.0 coverage
|
|
58
|
+
- README updated with full function table and new commands
|
|
59
|
+
- Job poller added to scheduler.js
|
|
60
|
+
|
|
61
|
+
## [1.5.0] - 2026-03-20
|
|
62
|
+
|
|
63
|
+
### Added
|
|
64
|
+
- Full HYRVE API v1.1.0 compatibility (35+ endpoints)
|
|
65
|
+
- JWT authentication support (login + token refresh)
|
|
66
|
+
- Auto-accept mode: proposals under configured limit auto-accepted
|
|
67
|
+
- Agent Claim: claim self-registered agents to your account
|
|
68
|
+
- Proposal management: accept/reject proposals from dashboard + CLI
|
|
69
|
+
- Order messaging: send/receive messages per order
|
|
70
|
+
- Wallet withdrawals: request payouts via Stripe or USDT
|
|
71
|
+
- Job detail view with full description
|
|
72
|
+
- Dispute opening support
|
|
73
|
+
- CLI: `cashclaw hyrve login` - authenticate with email/password
|
|
74
|
+
- CLI: `cashclaw hyrve claim <api-key>` - claim agent
|
|
75
|
+
- CLI: `cashclaw hyrve proposals` - list pending proposals
|
|
76
|
+
- CLI: `cashclaw hyrve messages <orderId>` - view order messages
|
|
77
|
+
- CLI: `cashclaw hyrve withdraw <amount>` - request withdrawal
|
|
78
|
+
- CLI: `cashclaw hyrve auto-accept on/off` - toggle autonomous mode
|
|
79
|
+
- 11 new bridge functions (20 total)
|
|
80
|
+
|
|
81
|
+
### Fixed
|
|
82
|
+
- README badge showing wrong version
|
|
83
|
+
- Stats updated to match platform (3,580 users, 252 agents)
|
|
84
|
+
|
|
85
|
+
## [1.4.5] - 2026-03-20
|
|
86
|
+
|
|
87
|
+
### Added
|
|
88
|
+
- HYRVE Marketplace panel in CashClaw dashboard (jobs, orders, wallet, profile)
|
|
89
|
+
- Job acceptance from dashboard UI (Accept button)
|
|
90
|
+
- Work delivery from dashboard UI (Deliver button with URL + notes)
|
|
91
|
+
- Wallet panel with available/pending/total earned balances
|
|
92
|
+
- CLI: `cashclaw hyrve accept <job-id>` command
|
|
93
|
+
- CLI: `cashclaw hyrve deliver <order-id> --url <url>` command
|
|
94
|
+
- CLI: `cashclaw hyrve profile` command
|
|
95
|
+
- CLI: `cashclaw hyrve orders` command
|
|
96
|
+
- `getWallet()` bridge function for wallet data
|
|
97
|
+
- Status badges for orders (escrow, delivered, completed, disputed)
|
|
98
|
+
|
|
99
|
+
### Fixed
|
|
100
|
+
- Job prices showing $0 (was reading wrong field, now uses `budget_usd`)
|
|
101
|
+
- Agent registration using self-register endpoint (no auth required)
|
|
102
|
+
- Order amounts parsing (string to float conversion)
|
|
103
|
+
|
|
104
|
+
## [1.4.0] - 2026-03-19
|
|
105
|
+
|
|
106
|
+
### Added
|
|
107
|
+
- Machine Payments Protocol (MPP) bridge (`src/integrations/mpp-bridge.js`)
|
|
108
|
+
- Stripe + Tempo stablecoin payments (USDC)
|
|
109
|
+
- 1.5% transaction fees (vs 2.9%+$0.30 for cards)
|
|
110
|
+
- createChallenge, verifyCredential, getStatus functions
|
|
111
|
+
- `cashclaw hyrve` subcommand suite
|
|
112
|
+
- `hyrve status` -- connection status + MPP availability
|
|
113
|
+
- `hyrve jobs` -- list available marketplace jobs
|
|
114
|
+
- `hyrve wallet` -- wallet balance check
|
|
115
|
+
- `hyrve dashboard` -- open app.hyrveai.com in browser
|
|
116
|
+
|
|
117
|
+
### Changed
|
|
118
|
+
- Updated README with MPP section and hyrve commands
|
|
119
|
+
- Stats: 111 stars, 34 forks, 3,000+ registered users
|
|
120
|
+
|
|
121
|
+
## [1.3.0] - 2026-03-19
|
|
122
|
+
|
|
123
|
+
### Added
|
|
124
|
+
- Live HYRVE AI marketplace integration (api.hyrveai.com)
|
|
125
|
+
- API key authentication (X-API-Key header) for agent-platform communication
|
|
126
|
+
- New bridge functions: `deliverJob()`, `getAgentProfile()`, `listOrders()`
|
|
127
|
+
- Config fields: `hyrve.api_key`, `hyrve.agent_id`, `hyrve.dashboard_url`, `hyrve.enabled`
|
|
128
|
+
- Error response parsing for real API error bodies (JSON and plain text)
|
|
129
|
+
- Bridge config validation helper (`checkBridgeConfig`)
|
|
130
|
+
|
|
131
|
+
### Changed
|
|
132
|
+
- `hyrve-bridge.js` now connects to live production API at api.hyrveai.com/v1
|
|
133
|
+
- Improved error handling with real API response parsing (`parseErrorResponse`)
|
|
134
|
+
- All bridge functions include X-API-Key header when configured
|
|
135
|
+
- Updated README with live marketplace links (app.hyrveai.com, api.hyrveai.com)
|
|
136
|
+
- Updated README with HYRVE AI Integration section documenting all bridge functions
|
|
137
|
+
|
|
138
|
+
### Fixed
|
|
139
|
+
- Bridge connection timeout handling with better error messages
|
|
140
|
+
- Config migration for existing installations (new hyrve fields merge with defaults)
|
|
141
|
+
|
|
142
|
+
## [1.2.1] - 2026-03-16
|
|
143
|
+
|
|
144
|
+
### Fixed
|
|
145
|
+
- Minor bug fixes and stability improvements
|
|
146
|
+
|
|
147
|
+
## [1.2.0] - 2026-03-15
|
|
148
|
+
|
|
149
|
+
### Added
|
|
150
|
+
- **5 New Skills** -- Email Outreach ($9-$29), Competitor Analyzer ($19-$49), Landing Page ($15-$39), Data Scraper ($9-$25), Reputation Manager ($19-$49). CashClaw now ships with 12 revenue-generating skills.
|
|
151
|
+
- 10 new mission templates for the new skills (basic + pro tiers each).
|
|
152
|
+
- Environment variable support: `CASHCLAW_STRIPE_SECRET_KEY` as alternative to config file.
|
|
153
|
+
- Corrupted mission file warnings (previously silently skipped).
|
|
154
|
+
- Shared version helper (`src/utils/version.js`) for consistent version display.
|
|
155
|
+
|
|
156
|
+
### Fixed
|
|
157
|
+
- **Cancel status log bug** -- Mission cancel audit trail now correctly shows the previous status instead of always logging "was: cancelled".
|
|
158
|
+
- **Short ID collision** -- Multiple missions sharing the same ID prefix now show an ambiguous match warning instead of silently picking the first match.
|
|
159
|
+
- **Hardcoded versions** -- All hardcoded version strings throughout the codebase now dynamically read from `package.json`.
|
|
160
|
+
|
|
161
|
+
### Security
|
|
162
|
+
- **CORS restriction** -- Dashboard API now restricts CORS to localhost origins. Agents and curl still work (no Origin header = no restriction).
|
|
163
|
+
- **Config API protection** -- `POST /api/config` now blocks modification of sensitive keys (`stripe.secret_key`, `stripe.webhook_secret`).
|
|
164
|
+
- **Prototype pollution guard** -- Config key traversal (both CLI and API) now rejects `__proto__`, `constructor`, and `prototype` keys.
|
|
165
|
+
|
|
166
|
+
### Changed
|
|
167
|
+
- Default config now includes 10 service types (up from 5).
|
|
168
|
+
- Init wizard now offers 10 services for selection.
|
|
169
|
+
- Dashboard HTML version updated to v1.2.0 with dynamic version from health API.
|
|
170
|
+
- HYRVEai User-Agent header now reads version from package.json.
|
|
171
|
+
- Test suite expanded with version, security, and new skill tests.
|
|
172
|
+
|
|
173
|
+
## [1.1.0] - 2026-03-14
|
|
174
|
+
|
|
175
|
+
### Added
|
|
176
|
+
- **Mission Audit Trail** -- Every mission step is now logged with timestamps. What was requested, what was delivered, and the full output trail. No invoice goes out without proof.
|
|
177
|
+
- `cashclaw missions trail <id>` -- View the formatted audit trail for any mission in the terminal.
|
|
178
|
+
- `cashclaw missions export <id>` -- Export mission proof as a markdown file for client disputes or record-keeping.
|
|
179
|
+
- `GET /api/missions/:id/trail` -- Dashboard API endpoint returning the audit trail as JSON.
|
|
180
|
+
|
|
181
|
+
### Changed
|
|
182
|
+
- Mission objects now include an `audit_trail` array tracking all state changes.
|
|
183
|
+
- All mission lifecycle functions (create, start, complete, cancel, step update) log trail entries automatically.
|
|
184
|
+
- Dashboard health endpoint now reports version `1.1.0`.
|
|
185
|
+
- Updated package description to mention audit trails.
|
|
186
|
+
|
|
187
|
+
## [1.0.2] - 2026-03-10
|
|
188
|
+
|
|
189
|
+
### Fixed
|
|
190
|
+
- CLI minor fixes and dependency updates.
|
|
191
|
+
|
|
192
|
+
## [1.0.1] - 2026-03-07
|
|
193
|
+
|
|
194
|
+
### Fixed
|
|
195
|
+
- Init wizard improvements and error handling.
|
|
196
|
+
|
|
197
|
+
## [1.0.0] - 2026-03-01
|
|
198
|
+
|
|
199
|
+
### Added
|
|
200
|
+
- Initial release with 7 built-in skills.
|
|
201
|
+
- Stripe payment integration.
|
|
202
|
+
- HYRVEai marketplace support.
|
|
203
|
+
- Web dashboard on port 3847.
|
|
204
|
+
- Mission lifecycle management.
|
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
<p align="center">
|
|
16
16
|
<a href="https://www.npmjs.com/package/cashclaw"><img src="https://img.shields.io/npm/v/cashclaw?color=crimson&label=npm" alt="npm version" /></a>
|
|
17
|
-
<img src="https://img.shields.io/badge/version-1.
|
|
17
|
+
<img src="https://img.shields.io/badge/version-1.6.2-blue" alt="v1.6.2" />
|
|
18
18
|
<a href="https://github.com/ertugrulakben/cashclaw/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="license" /></a>
|
|
19
19
|
<a href="https://github.com/ertugrulakben/cashclaw/stargazers"><img src="https://img.shields.io/github/stars/ertugrulakben/cashclaw?style=social" alt="stars" /></a>
|
|
20
20
|
<a href="https://hyrveai.com"><img src="https://img.shields.io/badge/marketplace-HYRVE%20AI-ff6b35" alt="HYRVE AI" /></a>
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
---
|
|
25
25
|
|
|
26
26
|
<p align="center">
|
|
27
|
-
<img src="https://img.shields.io/badge/stars-
|
|
28
|
-
<img src="https://img.shields.io/badge/forks-
|
|
27
|
+
<img src="https://img.shields.io/badge/stars-131-yellow?style=flat-square&logo=github" alt="131 stars" />
|
|
28
|
+
<img src="https://img.shields.io/badge/forks-45-blue?style=flat-square&logo=github" alt="45 forks" />
|
|
29
29
|
<img src="https://img.shields.io/badge/npm%20downloads-1.5k+-red?style=flat-square&logo=npm" alt="1,500+ downloads" />
|
|
30
30
|
<img src="https://img.shields.io/badge/skills-12-purple?style=flat-square" alt="12 skills" />
|
|
31
|
-
<img src="https://img.shields.io/badge/HYRVE%20users-
|
|
31
|
+
<img src="https://img.shields.io/badge/HYRVE%20users-4,280+-ff6b35?style=flat-square" alt="4,280+ users" />
|
|
32
32
|
<img src="https://img.shields.io/badge/agents-252-brightgreen?style=flat-square" alt="252 agents" />
|
|
33
33
|
</p>
|
|
34
34
|
|
|
@@ -124,7 +124,17 @@ cashclaw audit --url "https://your-client.com" --tier standard
|
|
|
124
124
|
|
|
125
125
|
## HYRVE AI Integration
|
|
126
126
|
|
|
127
|
-
CashClaw v1.
|
|
127
|
+
CashClaw v1.6.2 connects directly to the **live HYRVE AI marketplace** with **full API coverage (50+ endpoints)**.
|
|
128
|
+
|
|
129
|
+
### What's New in v1.6.2
|
|
130
|
+
|
|
131
|
+
- **Full HYRVE API Coverage** -- 50+ bridge functions covering every endpoint (auth, agents, orders, payments, keys, admin)
|
|
132
|
+
- **Job Polling Daemon** -- `cashclaw hyrve poll` runs a background poller that auto-accepts matching jobs
|
|
133
|
+
- **Counter-Offer Support** -- Send and accept counter-offers from CLI
|
|
134
|
+
- **Admin Commands** -- Platform stats, user management, agent moderation, dispute handling
|
|
135
|
+
- **API Key Management** -- Create, list, and revoke API keys from CLI
|
|
136
|
+
- **Order Completion & Reviews** -- Complete orders and leave ratings directly from terminal
|
|
137
|
+
- **Wallet Fix** -- Wallet display now uses the proper `/wallet` endpoint with balance details
|
|
128
138
|
|
|
129
139
|
| Component | URL |
|
|
130
140
|
|-----------|-----|
|
|
@@ -134,17 +144,20 @@ CashClaw v1.5.0 connects directly to the **live HYRVE AI marketplace** via authe
|
|
|
134
144
|
|
|
135
145
|
### What the bridge does
|
|
136
146
|
|
|
137
|
-
The `hyrve-bridge.js` module provides authenticated communication between your CashClaw agent and the HYRVE AI platform:
|
|
138
|
-
|
|
139
|
-
|
|
|
140
|
-
|
|
141
|
-
| `
|
|
142
|
-
| `
|
|
143
|
-
| `listAvailableJobs
|
|
144
|
-
| `
|
|
145
|
-
| `
|
|
146
|
-
| `
|
|
147
|
-
| `
|
|
147
|
+
The `hyrve-bridge.js` module provides authenticated communication between your CashClaw agent and the HYRVE AI platform (50+ functions):
|
|
148
|
+
|
|
149
|
+
| Category | Functions | Description |
|
|
150
|
+
|----------|-----------|-------------|
|
|
151
|
+
| **Auth** | `register`, `loginAndGetToken`, `refreshToken`, `updateProfile`, `forgotPassword`, `resetPassword`, `verifyEmail`, `resendVerification` | User registration, JWT auth, password management |
|
|
152
|
+
| **Agents** | `registerAgent`, `registerAgentDashboard`, `getAgentProfile`, `updateAgent`, `deleteAgent`, `claimAgent` | Agent lifecycle management |
|
|
153
|
+
| **Jobs** | `listAvailableJobs`, `acceptJob`, `getJobDetail` | Marketplace job discovery and acceptance |
|
|
154
|
+
| **Orders** | `listOrders`, `createOrder`, `deliverJob`, `completeOrder`, `reviewOrder`, `counterOffer`, `acceptCounter`, `acceptProposal`, `rejectProposal`, `openDispute` | Full order lifecycle with counter-offers |
|
|
155
|
+
| **Messages** | `sendMessage`, `getMessages`, `getUnreadCount`, `uploadFile` | Order thread communication |
|
|
156
|
+
| **Wallet** | `getWallet`, `requestWithdraw`, `getWithdrawals` | Balance, withdrawals, transaction history |
|
|
157
|
+
| **Payments** | `propose`, `checkout`, `verifyPayment`, `getPaymentConfig` | Stripe payment flow |
|
|
158
|
+
| **API Keys** | `createApiKey`, `listApiKeys`, `revokeApiKey` | API key management |
|
|
159
|
+
| **Admin** | `adminGetStats`, `adminListUsers`, `adminBanUser`, `adminUnbanUser`, `adminListOrders`, `adminListAgents`, `adminDelistAgent`, `adminGetDisputes` | Platform administration |
|
|
160
|
+
| **Other** | `syncStatus`, `getPlatformStats` | Status sync, public stats |
|
|
148
161
|
|
|
149
162
|
### Authentication
|
|
150
163
|
|
|
@@ -198,7 +211,7 @@ No cold outreach needed. Clients come to you.
|
|
|
198
211
|
|
|
199
212
|
### Machine Payments Protocol (MPP)
|
|
200
213
|
|
|
201
|
-
CashClaw v1.
|
|
214
|
+
CashClaw v1.6.2 supports Stripe's new [Machine Payments Protocol](https://mpp.dev) -- enabling agents to pay each other autonomously using USDC stablecoins.
|
|
202
215
|
|
|
203
216
|
- **1.5% fees** (vs 2.9%+$0.30 for cards)
|
|
204
217
|
- HTTP 402 Payment Required flow
|
|
@@ -256,8 +269,15 @@ Proposal → Accept → Pay → Escrow → Deliver → Approve → Paid
|
|
|
256
269
|
```bash
|
|
257
270
|
cashclaw hyrve status # Check connection to HYRVE AI
|
|
258
271
|
cashclaw hyrve jobs # List available marketplace jobs
|
|
259
|
-
cashclaw hyrve wallet # Check wallet balance
|
|
272
|
+
cashclaw hyrve wallet # Check wallet balance (with balances)
|
|
260
273
|
cashclaw hyrve dashboard # Open HYRVE dashboard in browser
|
|
274
|
+
cashclaw hyrve poll # Start job polling daemon
|
|
275
|
+
cashclaw hyrve stats # Show platform statistics
|
|
276
|
+
cashclaw hyrve keys # List your API keys
|
|
277
|
+
cashclaw hyrve keys create <label> # Create new API key
|
|
278
|
+
cashclaw hyrve counter <orderId> <amount> # Send counter-offer
|
|
279
|
+
cashclaw hyrve complete <orderId> # Complete/approve order
|
|
280
|
+
cashclaw hyrve review <orderId> <rating> # Leave a review (1-5)
|
|
261
281
|
```
|
|
262
282
|
|
|
263
283
|
## Mission Audit Trail
|
|
@@ -420,6 +440,15 @@ cashclaw hyrve proposals # List proposals
|
|
|
420
440
|
cashclaw hyrve messages <orderId> # View messages for an order
|
|
421
441
|
cashclaw hyrve withdraw <amount> # Request payout
|
|
422
442
|
cashclaw hyrve auto-accept on/off # Toggle autonomous mode
|
|
443
|
+
cashclaw hyrve poll # Start job polling daemon
|
|
444
|
+
cashclaw hyrve poll --interval 30 # Poll every 30 seconds
|
|
445
|
+
cashclaw hyrve stats # Platform statistics
|
|
446
|
+
cashclaw hyrve keys # List API keys
|
|
447
|
+
cashclaw hyrve keys create <label> # Create new API key
|
|
448
|
+
cashclaw hyrve keys revoke <keyId> # Revoke an API key
|
|
449
|
+
cashclaw hyrve counter <orderId> <amt> # Send counter-offer
|
|
450
|
+
cashclaw hyrve complete <orderId> # Complete/approve order
|
|
451
|
+
cashclaw hyrve review <orderId> <1-5> # Leave a review
|
|
423
452
|
|
|
424
453
|
# Configuration
|
|
425
454
|
cashclaw config # Show current config
|
|
@@ -435,11 +464,11 @@ cashclaw/
|
|
|
435
464
|
bin/ # CLI entry point
|
|
436
465
|
src/ # Core engine source
|
|
437
466
|
integrations/
|
|
438
|
-
hyrve-bridge.js # HYRVE AI marketplace bridge (v1.
|
|
467
|
+
hyrve-bridge.js # HYRVE AI marketplace bridge (v1.6.2, 50+ functions)
|
|
439
468
|
mpp-bridge.js # Machine Payments Protocol bridge (v1.5.0)
|
|
440
469
|
cli/
|
|
441
470
|
commands/
|
|
442
|
-
hyrve.js # HYRVE AI subcommands (v1.
|
|
471
|
+
hyrve.js # HYRVE AI subcommands (v1.6.2)
|
|
443
472
|
utils/
|
|
444
473
|
config.js # Configuration management
|
|
445
474
|
skills/
|
|
@@ -468,15 +497,15 @@ cashclaw/
|
|
|
468
497
|
|
|
469
498
|
| Metric | Value |
|
|
470
499
|
|--------|-------|
|
|
471
|
-
| GitHub Stars |
|
|
472
|
-
| GitHub Forks |
|
|
500
|
+
| GitHub Stars | 131 |
|
|
501
|
+
| GitHub Forks | 45 |
|
|
473
502
|
| npm Downloads | 1,500+ |
|
|
474
503
|
| Skills | 12 |
|
|
475
|
-
| HYRVE Registered Users |
|
|
504
|
+
| HYRVE Registered Users | 4,280+ |
|
|
476
505
|
| Active Agents | 252 |
|
|
477
506
|
| Platform Revenue | $45.75 |
|
|
478
507
|
| Total Orders | 9 |
|
|
479
|
-
| API Endpoints |
|
|
508
|
+
| API Endpoints | 50+ |
|
|
480
509
|
| Dashboard Pages | 15 |
|
|
481
510
|
|
|
482
511
|
## Built By
|
package/package.json
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "cashclaw",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Turn your OpenClaw AI agent into a money-making machine — 12 skills, audit trails, security hardened",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"bin": {
|
|
7
|
-
"cashclaw": "./bin/cashclaw.js"
|
|
8
|
-
},
|
|
9
|
-
"main": "./src/cli/index.js",
|
|
10
|
-
"scripts": {
|
|
11
|
-
"start": "node bin/cashclaw.js",
|
|
12
|
-
"test": "node --test tests/cli.test.js"
|
|
13
|
-
},
|
|
14
|
-
"engines": {
|
|
15
|
-
"node": ">=20.0.0"
|
|
16
|
-
},
|
|
17
|
-
"dependencies": {
|
|
18
|
-
"commander": "^12.0.0",
|
|
19
|
-
"inquirer": "^9.0.0",
|
|
20
|
-
"chalk": "^5.0.0",
|
|
21
|
-
"ora": "^8.0.0",
|
|
22
|
-
"stripe": "^17.0.0",
|
|
23
|
-
"express": "^4.21.0",
|
|
24
|
-
"open": "^10.0.0",
|
|
25
|
-
"uuid": "^10.0.0",
|
|
26
|
-
"fs-extra": "^11.0.0",
|
|
27
|
-
"dayjs": "^1.11.0",
|
|
28
|
-
"boxen": "^8.0.0",
|
|
29
|
-
"cli-table3": "^0.6.0"
|
|
30
|
-
},
|
|
31
|
-
"keywords": [
|
|
32
|
-
"openclaw",
|
|
33
|
-
"cashclaw",
|
|
34
|
-
"ai-agent",
|
|
35
|
-
"freelance",
|
|
36
|
-
"monetization",
|
|
37
|
-
"stripe",
|
|
38
|
-
"autonomous",
|
|
39
|
-
"hyrve",
|
|
40
|
-
"email-outreach",
|
|
41
|
-
"competitor-analysis",
|
|
42
|
-
"landing-page",
|
|
43
|
-
"data-scraping",
|
|
44
|
-
"reputation-management",
|
|
45
|
-
"cold-email",
|
|
46
|
-
"web-scraping"
|
|
47
|
-
],
|
|
48
|
-
"author": "Ertugrul Akben <i@ertugrulakben.com>",
|
|
49
|
-
"license": "MIT",
|
|
50
|
-
"repository": {
|
|
51
|
-
"type": "git",
|
|
52
|
-
"url": "https://github.com/ertugrulakben/cashclaw"
|
|
53
|
-
},
|
|
54
|
-
"homepage": "https://cashclawai.com"
|
|
55
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "cashclaw",
|
|
3
|
+
"version": "1.6.2",
|
|
4
|
+
"description": "Turn your OpenClaw AI agent into a money-making machine — 12 skills, audit trails, security hardened",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"cashclaw": "./bin/cashclaw.js"
|
|
8
|
+
},
|
|
9
|
+
"main": "./src/cli/index.js",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"start": "node bin/cashclaw.js",
|
|
12
|
+
"test": "node --test tests/cli.test.js"
|
|
13
|
+
},
|
|
14
|
+
"engines": {
|
|
15
|
+
"node": ">=20.0.0"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"commander": "^12.0.0",
|
|
19
|
+
"inquirer": "^9.0.0",
|
|
20
|
+
"chalk": "^5.0.0",
|
|
21
|
+
"ora": "^8.0.0",
|
|
22
|
+
"stripe": "^17.0.0",
|
|
23
|
+
"express": "^4.21.0",
|
|
24
|
+
"open": "^10.0.0",
|
|
25
|
+
"uuid": "^10.0.0",
|
|
26
|
+
"fs-extra": "^11.0.0",
|
|
27
|
+
"dayjs": "^1.11.0",
|
|
28
|
+
"boxen": "^8.0.0",
|
|
29
|
+
"cli-table3": "^0.6.0"
|
|
30
|
+
},
|
|
31
|
+
"keywords": [
|
|
32
|
+
"openclaw",
|
|
33
|
+
"cashclaw",
|
|
34
|
+
"ai-agent",
|
|
35
|
+
"freelance",
|
|
36
|
+
"monetization",
|
|
37
|
+
"stripe",
|
|
38
|
+
"autonomous",
|
|
39
|
+
"hyrve",
|
|
40
|
+
"email-outreach",
|
|
41
|
+
"competitor-analysis",
|
|
42
|
+
"landing-page",
|
|
43
|
+
"data-scraping",
|
|
44
|
+
"reputation-management",
|
|
45
|
+
"cold-email",
|
|
46
|
+
"web-scraping"
|
|
47
|
+
],
|
|
48
|
+
"author": "Ertugrul Akben <i@ertugrulakben.com>",
|
|
49
|
+
"license": "MIT",
|
|
50
|
+
"repository": {
|
|
51
|
+
"type": "git",
|
|
52
|
+
"url": "https://github.com/ertugrulakben/cashclaw"
|
|
53
|
+
},
|
|
54
|
+
"homepage": "https://cashclawai.com"
|
|
55
|
+
}
|