@gethmy/agent 1.36.0 → 1.37.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 -3
- package/dist/cli.js +1288 -729
- package/dist/index.js +897 -713
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -38,7 +38,7 @@ harmony-agent
|
|
|
38
38
|
npx @gethmy/mcp setup
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
2. Add agent config to `~/.
|
|
41
|
+
2. Add agent config to `~/.hmy/agent/config.json`. Every field is optional — the snippet below shows the common options with their defaults. For the full schema (worktree, verification, completion, priority labels), see [docs/agent-daemon.md](../../docs/agent-daemon.md):
|
|
42
42
|
|
|
43
43
|
```jsonc
|
|
44
44
|
{
|
|
@@ -128,13 +128,13 @@ harmony-agent help # Show usage
|
|
|
128
128
|
|
|
129
129
|
## State
|
|
130
130
|
|
|
131
|
-
Durable state lives at `~/.
|
|
131
|
+
Durable state lives at `~/.hmy/agent/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 `~/.hmy/agent/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.
|
|
132
132
|
|
|
133
133
|
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.
|
|
134
134
|
|
|
135
135
|
## Debugging
|
|
136
136
|
|
|
137
|
-
Every Claude CLI run writes a per-run log at `~/.
|
|
137
|
+
Every Claude CLI run writes a per-run log at `~/.hmy/agent/runs/<runId>-card-<shortId>.log` — full stdout (NDJSON), stderr, parse errors, and an exit footer with tool-call and cost totals. Start there when a run ends silently or the card activity log shows only "Still working..." heartbeats.
|
|
138
138
|
|
|
139
139
|
See [Debugging a Silent Run](../../docs/agent-daemon.md#debugging-a-silent-run) for interpretation table and retention notes.
|
|
140
140
|
|