@gethmy/agent 1.28.2 → 1.29.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.
Files changed (4) hide show
  1. package/README.md +14 -5
  2. package/dist/cli.js +987 -160
  3. package/dist/index.js +929 -157
  4. package/package.json +2 -2
package/README.md CHANGED
@@ -54,10 +54,15 @@ npx @gethmy/mcp setup
54
54
  "failColumn": "To Do"
55
55
  },
56
56
  "budget": {
57
- "maxAttemptsPerCard": 3, // DLQ after N full failed runs
58
- "maxCentsPerCard": 500, // $5.00 per-card cost cap
59
- "dailyBudgetCents": 5000, // $50.00 total daily cap
60
- "dlqLabel": "dlq"
57
+ "maxAttemptsPerCard": 3, // give up on a card after N failed runs
58
+ "dailyBudgetCents": 5000 // $50.00/day across all workers; -1 = no cap
59
+ },
60
+ "sweep": {
61
+ "enabled": false, // the daemon claims its own next card
62
+ "maxCardsPerSweep": 10 // cards one sweep may claim before it stops.
63
+ // -1 opts out, and then dailyBudgetCents
64
+ // must be set. Only `sweep resume` clears
65
+ // it, so http.enabled must be true.
61
66
  },
62
67
  "http": {
63
68
  "enabled": true,
@@ -78,7 +83,11 @@ npx @gethmy/mcp setup
78
83
 
79
84
  ```bash
80
85
  harmony-agent [run] # Start the daemon (default)
81
- harmony-agent status # Snapshot: workers, queues, DLQ, budget
86
+ harmony-agent status # Snapshot: workers, queues, DLQ, budget, sweep
87
+ harmony-agent sweep # Sweep caps + whether it is claiming
88
+ harmony-agent sweep stop # Kill switch: halt claiming within one heartbeat.
89
+ # In-flight runs are NOT cancelled.
90
+ harmony-agent sweep resume # Resume claiming and reset the card cap
82
91
  harmony-agent health # Exit 0 if healthy, 1 otherwise
83
92
  harmony-agent doctor # Preflight checks without starting the daemon
84
93
  harmony-agent gc # One-shot worktree garbage collection