@gethmy/agent 1.34.0 → 1.35.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/README.md +3 -2
- package/dist/cli.js +1192 -509
- package/dist/index.js +1155 -494
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -55,7 +55,8 @@ npx @gethmy/mcp setup
|
|
|
55
55
|
},
|
|
56
56
|
"budget": {
|
|
57
57
|
"maxAttemptsPerCard": 3, // give up on a card after N failed runs
|
|
58
|
-
"dailyBudgetCents":
|
|
58
|
+
"dailyBudgetCents": 40000 // $400.00/day across all workers; -1 = no cap
|
|
59
|
+
// 10x sdk.maxBudgetUsd (#1058); keep in proportion
|
|
59
60
|
},
|
|
60
61
|
"sweep": {
|
|
61
62
|
"enabled": false, // the daemon claims its own next card
|
|
@@ -122,7 +123,7 @@ harmony-agent help # Show usage
|
|
|
122
123
|
|
|
123
124
|
## State
|
|
124
125
|
|
|
125
|
-
Durable state lives at `~/.harmony-mcp/
|
|
126
|
+
Durable state lives at `~/.harmony-mcp/state/<projectId>.json` — one file per project, so two daemons on one machine never read or write each other's runs (#1057). Tracks live runs, per-card attempts and costs, daily spend, and DLQ markers. Atomic writes via write-to-tmp + rename. On the first start after upgrading, the daemon splits its own records out of the old machine-global `~/.harmony-mcp/agent-state.json` (a `.pre-scope-backup` copy is kept). The split is gated on its own `<projectId>.json.migrated` marker, so a failed or skipped attempt retries on the next start; a card record no worktree can attribute is copied into every project file rather than dropped.
|
|
126
127
|
|
|
127
128
|
Worktrees live at `.harmony-worktrees/` inside your repo. A background sweep every 5 minutes removes directories older than 1 hour that no live run claims.
|
|
128
129
|
|