@hydra-acp/cli 0.1.179 → 0.1.181

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 CHANGED
@@ -411,6 +411,15 @@ hydra-acp agent log <id> [-f] [-n N] # tail or follow an agent's spawn/std
411
411
  hydra-acp registry pin | unpin # freeze the daemon on its cached registry, or
412
412
  # resume normal TTL fetching
413
413
 
414
+ hydra-acp remote add <name> <host[:port]> [--label <text>]
415
+ # federate with a peer daemon under a local name
416
+ # (prompts for its password; matches `git remote add`).
417
+ # TOFU-pins the peer's TLS cert on first trust; re-running
418
+ # this before the token expires refreshes it without
419
+ # re-prompting for the cert
420
+ hydra-acp remote [list] # list federated peer daemons
421
+ hydra-acp remote remove <name> # un-federate a peer daemon and revoke its token
422
+
414
423
  hydra-acp config [list] [<dotted.key>] # print effective config (or one subtree) as JSON
415
424
  hydra-acp config get <dotted.key> # print one effective value (e.g. tui.mouse)
416
425
  hydra-acp config set <dotted.key> <value> # persist a value, validated against the schema
@@ -939,6 +948,8 @@ The daemon exposes a process-management surface. Treat the service token like an
939
948
 
940
949
  The service token (stored at `~/.hydra-acp/auth-token`, mode 0600) is generated on `hydra-acp init` and required as `Authorization: Bearer <token>` for every REST call and as a WebSocket subprotocol or query parameter for `wss://.../acp`. The token never leaves `~/.hydra-acp/`.
941
950
 
951
+ > **Windows:** mode 0600 is not enforcement there. Windows derives file access from ACLs, and Node's `chmod` only toggles the read-only bit, so `auth-token` (along with `config.json`, `peers.json`, `remotes.json`, and the session records) inherits whatever the parent directory grants. On a machine with more than one interactive user, restrict `%USERPROFILE%\.hydra-acp` yourself, e.g. `icacls "%USERPROFILE%\.hydra-acp" /inheritance:r /grant:r "%USERNAME%:(OI)(CI)F"`.
952
+
942
953
  For remote access (binding to a non-loopback address), enable TLS via:
943
954
 
944
955
  ```json