cashclaw 1.2.1 → 1.4.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/.idea/cashclaw.iml +9 -0
- package/.idea/misc.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +7 -0
- package/CHANGELOG.md +56 -17
- package/README.md +444 -342
- package/package.json +1 -1
- package/src/cli/commands/audit.js +289 -0
- package/src/cli/commands/dashboard.js +28 -14
- package/src/cli/commands/hyrve.js +100 -0
- package/src/cli/index.js +17 -0
- package/src/cli/utils/config.js +4 -1
- package/src/integrations/hyrve-bridge.js +413 -214
- package/src/integrations/mpp-bridge.js +67 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="JAVA_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
+
<exclude-output />
|
|
5
|
+
<content url="file://$MODULE_DIR$" />
|
|
6
|
+
<orderEntry type="inheritedJdk" />
|
|
7
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
8
|
+
</component>
|
|
9
|
+
</module>
|
package/.idea/misc.xml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectRootManager" version="2" languageLevel="JDK_24" default="true" project-jdk-name="openjdk-24" project-jdk-type="JavaSDK">
|
|
4
|
+
<output url="file://$PROJECT_DIR$/out" />
|
|
5
|
+
</component>
|
|
6
|
+
</project>
|
package/.idea/vcs.xml
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -1,23 +1,68 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
All notable changes to CashClaw will be documented in this file.
|
|
4
|
+
|
|
5
|
+
## [1.4.0] - 2026-03-19
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- Machine Payments Protocol (MPP) bridge (`src/integrations/mpp-bridge.js`)
|
|
9
|
+
- Stripe + Tempo stablecoin payments (USDC)
|
|
10
|
+
- 1.5% transaction fees (vs 2.9%+$0.30 for cards)
|
|
11
|
+
- createChallenge, verifyCredential, getStatus functions
|
|
12
|
+
- `cashclaw hyrve` subcommand suite
|
|
13
|
+
- `hyrve status` -- connection status + MPP availability
|
|
14
|
+
- `hyrve jobs` -- list available marketplace jobs
|
|
15
|
+
- `hyrve wallet` -- wallet balance check
|
|
16
|
+
- `hyrve dashboard` -- open app.hyrveai.com in browser
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
- Updated README with MPP section and hyrve commands
|
|
20
|
+
- Stats: 111 stars, 34 forks, 3,000+ registered users
|
|
21
|
+
|
|
22
|
+
## [1.3.0] - 2026-03-19
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
- Live HYRVE AI marketplace integration (api.hyrveai.com)
|
|
26
|
+
- API key authentication (X-API-Key header) for agent-platform communication
|
|
27
|
+
- New bridge functions: `deliverJob()`, `getAgentProfile()`, `listOrders()`
|
|
28
|
+
- Config fields: `hyrve.api_key`, `hyrve.agent_id`, `hyrve.dashboard_url`, `hyrve.enabled`
|
|
29
|
+
- Error response parsing for real API error bodies (JSON and plain text)
|
|
30
|
+
- Bridge config validation helper (`checkBridgeConfig`)
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
- `hyrve-bridge.js` now connects to live production API at api.hyrveai.com/v1
|
|
34
|
+
- Improved error handling with real API response parsing (`parseErrorResponse`)
|
|
35
|
+
- All bridge functions include X-API-Key header when configured
|
|
36
|
+
- Updated README with live marketplace links (app.hyrveai.com, api.hyrveai.com)
|
|
37
|
+
- Updated README with HYRVE AI Integration section documenting all bridge functions
|
|
38
|
+
|
|
39
|
+
### Fixed
|
|
40
|
+
- Bridge connection timeout handling with better error messages
|
|
41
|
+
- Config migration for existing installations (new hyrve fields merge with defaults)
|
|
42
|
+
|
|
43
|
+
## [1.2.1] - 2026-03-16
|
|
44
|
+
|
|
45
|
+
### Fixed
|
|
46
|
+
- Minor bug fixes and stability improvements
|
|
47
|
+
|
|
3
48
|
## [1.2.0] - 2026-03-15
|
|
4
49
|
|
|
5
50
|
### Added
|
|
6
|
-
- **5 New Skills**
|
|
51
|
+
- **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.
|
|
7
52
|
- 10 new mission templates for the new skills (basic + pro tiers each).
|
|
8
53
|
- Environment variable support: `CASHCLAW_STRIPE_SECRET_KEY` as alternative to config file.
|
|
9
54
|
- Corrupted mission file warnings (previously silently skipped).
|
|
10
55
|
- Shared version helper (`src/utils/version.js`) for consistent version display.
|
|
11
56
|
|
|
12
57
|
### Fixed
|
|
13
|
-
- **Cancel status log bug**
|
|
14
|
-
- **Short ID collision**
|
|
15
|
-
- **Hardcoded versions**
|
|
58
|
+
- **Cancel status log bug** -- Mission cancel audit trail now correctly shows the previous status instead of always logging "was: cancelled".
|
|
59
|
+
- **Short ID collision** -- Multiple missions sharing the same ID prefix now show an ambiguous match warning instead of silently picking the first match.
|
|
60
|
+
- **Hardcoded versions** -- All hardcoded version strings throughout the codebase now dynamically read from `package.json`.
|
|
16
61
|
|
|
17
62
|
### Security
|
|
18
|
-
- **CORS restriction**
|
|
19
|
-
- **Config API protection**
|
|
20
|
-
- **Prototype pollution guard**
|
|
63
|
+
- **CORS restriction** -- Dashboard API now restricts CORS to localhost origins. Agents and curl still work (no Origin header = no restriction).
|
|
64
|
+
- **Config API protection** -- `POST /api/config` now blocks modification of sensitive keys (`stripe.secret_key`, `stripe.webhook_secret`).
|
|
65
|
+
- **Prototype pollution guard** -- Config key traversal (both CLI and API) now rejects `__proto__`, `constructor`, and `prototype` keys.
|
|
21
66
|
|
|
22
67
|
### Changed
|
|
23
68
|
- Default config now includes 10 service types (up from 5).
|
|
@@ -26,16 +71,13 @@
|
|
|
26
71
|
- HYRVEai User-Agent header now reads version from package.json.
|
|
27
72
|
- Test suite expanded with version, security, and new skill tests.
|
|
28
73
|
|
|
29
|
-
### Why This Release
|
|
30
|
-
CashClaw agents need more ways to earn. Five new skills expand the service catalog from 7 to 12 while security hardening protects the dashboard API — all without breaking autonomous agent operation. Every security change preserves agent bot compatibility.
|
|
31
|
-
|
|
32
74
|
## [1.1.0] - 2026-03-14
|
|
33
75
|
|
|
34
76
|
### Added
|
|
35
|
-
- **Mission Audit Trail**
|
|
36
|
-
- `cashclaw missions trail <id>`
|
|
37
|
-
- `cashclaw missions export <id>`
|
|
38
|
-
- `GET /api/missions/:id/trail`
|
|
77
|
+
- **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.
|
|
78
|
+
- `cashclaw missions trail <id>` -- View the formatted audit trail for any mission in the terminal.
|
|
79
|
+
- `cashclaw missions export <id>` -- Export mission proof as a markdown file for client disputes or record-keeping.
|
|
80
|
+
- `GET /api/missions/:id/trail` -- Dashboard API endpoint returning the audit trail as JSON.
|
|
39
81
|
|
|
40
82
|
### Changed
|
|
41
83
|
- Mission objects now include an `audit_trail` array tracking all state changes.
|
|
@@ -43,9 +85,6 @@ CashClaw agents need more ways to earn. Five new skills expand the service catal
|
|
|
43
85
|
- Dashboard health endpoint now reports version `1.1.0`.
|
|
44
86
|
- Updated package description to mention audit trails.
|
|
45
87
|
|
|
46
|
-
### Why This Release
|
|
47
|
-
Community feedback was clear: *"Without proof of actual work done, the invoice becomes negotiation."* Mission Audit Trail solves this. Every step is timestamped. Every deliverable is tracked. Dispute resolution and a work proof dashboard are on the roadmap.
|
|
48
|
-
|
|
49
88
|
## [1.0.2] - 2026-03-10
|
|
50
89
|
|
|
51
90
|
### Fixed
|