Repository navigation
docs(hermes): document CLI binary PATH + home install target (v0.18.1) - #37
Conversation
The friend-requests cron and heartbeat prompts invoke edge-book as a bare command; if the binary is not on the cron PATH the checks silently no-op and inbound friend requests are lost. Document the install target (binary resolvable as edge-book from /opt/data, home at /opt/data/home/.openclaw/edge-book), the PATH-or-symlink step, the verify commands, and ensure-notifier, ahead of cron registration. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c8b59c3bc6
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| Provision the host friend-request notifier for this home: | ||
|
|
||
| ``` | ||
| edge-book ensure-notifier --home /opt/data/home/.openclaw/edge-book |
There was a problem hiding this comment.
Avoid registering the notifier twice
In the Hermes path where this succeeds, edge-book ensure-notifier already provisions the same "Edge Book — friend requests" cron via ensureNotifierCron (src/cli.ts calls it, and src/host-cron.ts builds a hermes cron create ... --name FRIEND_REQUESTS_CRON_NAME). The next README step still tells users to run another hermes cron create for the same job, so a fresh install now ends with either a duplicate notifier or a name-conflict error after a successful setup.
Useful? React with 👍 / 👎.
What
Restructures the README Install on Hermes section so it covers installing the CLI binary, not just registering the cron.
The friend-requests cron and heartbeat prompts invoke
edge-bookas a bare command. If the binary is not on the PATH that Hermes cron jobs / tool calls run with, those checks silently no-op and inbound friend requests are lost. (The cron prompts already carry annpm exec -y edge-bookfallback, so this is the canonical-install layer, not a runtime fix.)Install target documented
edge-bookresolves as a bare command from/opt/data/opt/data/home/.openclaw/edge-book(the default~/.openclaw/edge-bookwhen$HOME=/opt/data/home)/usr/local/binsymlink to expose the npm-installed binaryedge-book version,friend pending --new ... --json) +ensure-notifierRelease
🤖 Generated with Claude Code