cashclaw 1.2.1 → 1.3.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.
@@ -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>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/cashclaw.iml" filepath="$PROJECT_DIR$/.idea/cashclaw.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
package/.idea/vcs.xml ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
6
+ </component>
7
+ </project>
package/CHANGELOG.md CHANGED
@@ -1,23 +1,51 @@
1
1
  # Changelog
2
2
 
3
+ All notable changes to CashClaw will be documented in this file.
4
+
5
+ ## [1.3.0] - 2026-03-19
6
+
7
+ ### Added
8
+ - Live HYRVE AI marketplace integration (api.hyrveai.com)
9
+ - API key authentication (X-API-Key header) for agent-platform communication
10
+ - New bridge functions: `deliverJob()`, `getAgentProfile()`, `listOrders()`
11
+ - Config fields: `hyrve.api_key`, `hyrve.agent_id`, `hyrve.dashboard_url`, `hyrve.enabled`
12
+ - Error response parsing for real API error bodies (JSON and plain text)
13
+ - Bridge config validation helper (`checkBridgeConfig`)
14
+
15
+ ### Changed
16
+ - `hyrve-bridge.js` now connects to live production API at api.hyrveai.com/v1
17
+ - Improved error handling with real API response parsing (`parseErrorResponse`)
18
+ - All bridge functions include X-API-Key header when configured
19
+ - Updated README with live marketplace links (app.hyrveai.com, api.hyrveai.com)
20
+ - Updated README with HYRVE AI Integration section documenting all bridge functions
21
+
22
+ ### Fixed
23
+ - Bridge connection timeout handling with better error messages
24
+ - Config migration for existing installations (new hyrve fields merge with defaults)
25
+
26
+ ## [1.2.1] - 2026-03-16
27
+
28
+ ### Fixed
29
+ - Minor bug fixes and stability improvements
30
+
3
31
  ## [1.2.0] - 2026-03-15
4
32
 
5
33
  ### Added
6
- - **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.
34
+ - **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
35
  - 10 new mission templates for the new skills (basic + pro tiers each).
8
36
  - Environment variable support: `CASHCLAW_STRIPE_SECRET_KEY` as alternative to config file.
9
37
  - Corrupted mission file warnings (previously silently skipped).
10
38
  - Shared version helper (`src/utils/version.js`) for consistent version display.
11
39
 
12
40
  ### Fixed
13
- - **Cancel status log bug** Mission cancel audit trail now correctly shows the previous status instead of always logging "was: cancelled".
14
- - **Short ID collision** Multiple missions sharing the same ID prefix now show an ambiguous match warning instead of silently picking the first match.
15
- - **Hardcoded versions** All hardcoded version strings throughout the codebase now dynamically read from `package.json`.
41
+ - **Cancel status log bug** -- Mission cancel audit trail now correctly shows the previous status instead of always logging "was: cancelled".
42
+ - **Short ID collision** -- Multiple missions sharing the same ID prefix now show an ambiguous match warning instead of silently picking the first match.
43
+ - **Hardcoded versions** -- All hardcoded version strings throughout the codebase now dynamically read from `package.json`.
16
44
 
17
45
  ### Security
18
- - **CORS restriction** Dashboard API now restricts CORS to localhost origins. Agents and curl still work (no Origin header = no restriction).
19
- - **Config API protection** `POST /api/config` now blocks modification of sensitive keys (`stripe.secret_key`, `stripe.webhook_secret`).
20
- - **Prototype pollution guard** Config key traversal (both CLI and API) now rejects `__proto__`, `constructor`, and `prototype` keys.
46
+ - **CORS restriction** -- Dashboard API now restricts CORS to localhost origins. Agents and curl still work (no Origin header = no restriction).
47
+ - **Config API protection** -- `POST /api/config` now blocks modification of sensitive keys (`stripe.secret_key`, `stripe.webhook_secret`).
48
+ - **Prototype pollution guard** -- Config key traversal (both CLI and API) now rejects `__proto__`, `constructor`, and `prototype` keys.
21
49
 
22
50
  ### Changed
23
51
  - Default config now includes 10 service types (up from 5).
@@ -26,16 +54,13 @@
26
54
  - HYRVEai User-Agent header now reads version from package.json.
27
55
  - Test suite expanded with version, security, and new skill tests.
28
56
 
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
57
  ## [1.1.0] - 2026-03-14
33
58
 
34
59
  ### Added
35
- - **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.
36
- - `cashclaw missions trail <id>` View the formatted audit trail for any mission in the terminal.
37
- - `cashclaw missions export <id>` Export mission proof as a markdown file for client disputes or record-keeping.
38
- - `GET /api/missions/:id/trail` Dashboard API endpoint returning the audit trail as JSON.
60
+ - **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.
61
+ - `cashclaw missions trail <id>` -- View the formatted audit trail for any mission in the terminal.
62
+ - `cashclaw missions export <id>` -- Export mission proof as a markdown file for client disputes or record-keeping.
63
+ - `GET /api/missions/:id/trail` -- Dashboard API endpoint returning the audit trail as JSON.
39
64
 
40
65
  ### Changed
41
66
  - Mission objects now include an `audit_trail` array tracking all state changes.
@@ -43,9 +68,6 @@ CashClaw agents need more ways to earn. Five new skills expand the service catal
43
68
  - Dashboard health endpoint now reports version `1.1.0`.
44
69
  - Updated package description to mention audit trails.
45
70
 
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
71
  ## [1.0.2] - 2026-03-10
50
72
 
51
73
  ### Fixed