@gethmy/agent 1.43.0 → 1.45.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 +16 -6
  2. package/dist/cli.js +402 -144
  3. package/dist/index.js +364 -131
  4. package/package.json +3 -3
package/README.md CHANGED
@@ -10,19 +10,26 @@ Built for **failsafe auto mode**: crashed daemons recover on restart, misconfigu
10
10
  - [Claude Code](https://docs.anthropic.com/en/docs/claude-code) CLI installed
11
11
  - Git
12
12
  - A [Harmony](https://gethmy.com) account with an API key
13
- - [@gethmy/mcp](https://www.npmjs.com/package/@gethmy/mcp) configured (`npx @gethmy/mcp setup`)
13
+ - The repository connected (`hmy connect`, or `npx @gethmy/mcp connect` with nothing installed)
14
14
 
15
15
  ## Installation
16
16
 
17
17
  ```bash
18
- # Run directly (works with any package manager)
19
- npx @gethmy/agent@latest
18
+ # The front door — one install carries this package too
19
+ npm i -g @gethmy/cli
20
+ hmy agent
20
21
 
21
- # Or install globally
22
+ # Or the daemon package alone
22
23
  npm install -g @gethmy/agent
23
24
  harmony-agent
25
+
26
+ # Or nothing installed at all (works with any package manager)
27
+ npx @gethmy/agent@latest
24
28
  ```
25
29
 
30
+ Install when the machine is yours; use `npx` for a container, a CI step or a
31
+ one-off. Both forms stay supported.
32
+
26
33
  > **Always pin `@latest`.** A bare `npx @gethmy/agent` reuses any previously
27
34
  > cached version that satisfies the spec — so an old install in `~/.npm/_npx`
28
35
  > can shadow the current release and you'll get stale startup logs and CLI
@@ -32,10 +39,13 @@ harmony-agent
32
39
 
33
40
  ## Configuration
34
41
 
35
- 1. Set up the MCP server first:
42
+ 1. Connect the repository first:
36
43
 
37
44
  ```bash
38
- npx @gethmy/mcp setup
45
+ hmy connect
46
+
47
+ # nothing installed? same command, no install:
48
+ npx @gethmy/mcp connect
39
49
  ```
40
50
 
41
51
  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):