@hydra-acp/cli 0.1.25 → 0.1.27

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
@@ -388,7 +388,7 @@ Extension stdout/stderr are appended to `~/.hydra-acp/extensions/<name>.log`.
388
388
  While the daemon is running you can manage extensions without bouncing it:
389
389
 
390
390
  ```text
391
- hydra-acp extension # table of name/status/pid/restarts/started/log
391
+ hydra-acp extension list
392
392
  hydra-acp extension restart hydra-acp-slack
393
393
  hydra-acp extension logs hydra-acp-slack --follow
394
394
  ```
@@ -405,8 +405,8 @@ Various ready-made extensions ship under the same `@hydra-acp` npm scope. All ar
405
405
 
406
406
  ```sh
407
407
  npm install -g @hydra-acp/slack
408
- hydra-acp extension add hydra-acp-slack --command hydra-acp-slack
409
- hydra-acp extension start hydra-acp-slack # if the daemon is already running
408
+ hydra-acp extension add hydra-acp-slack
409
+ hydra-acp extension restart hydra-acp-slack
410
410
  ```
411
411
 
412
412
  You'll also need a Slack app and a config at `~/.hydra-acp-slack.conf` — see the [package's setup section](https://github.com/smagnuso/hydra-acp-slack#setup) for scopes, tokens, and authorized users.
@@ -415,8 +415,8 @@ You'll also need a Slack app and a config at `~/.hydra-acp-slack.conf` — see t
415
415
 
416
416
  ```sh
417
417
  npm install -g @hydra-acp/browser
418
- hydra-acp extension add hydra-acp-browser --command hydra-acp-browser
419
- hydra-acp extension start hydra-acp-browser
418
+ hydra-acp extension add hydra-acp-browser
419
+ hydra-acp extension restart hydra-acp-browser
420
420
  ```
421
421
 
422
422
  The first launch generates `~/.hydra-acp-browser/authkey` and writes the open URL (with `?authkey=…`) to `~/.hydra-acp-browser/link`. Defaults to localhost-only; see the [package's HTTPS section](https://github.com/smagnuso/hydra-acp-browser#https) for binding to a LAN address with TLS.
@@ -425,15 +425,15 @@ The first launch generates `~/.hydra-acp-browser/authkey` and writes the open UR
425
425
 
426
426
  ```sh
427
427
  npm install -g @hydra-acp/notifier
428
- hydra-acp extension add hydra-acp-notifier --command hydra-acp-notifier
428
+ hydra-acp extension add hydra-acp-notifier
429
429
  hydra-acp extension start hydra-acp-notifier
430
430
  ```
431
431
 
432
- **[`@hydra-acp/approver`](https://github.com/smagnuso/hydra-acp-approver) — headless permission auto-responder.** Attaches to every live session and answers `session/request_permission` based on a JS rule at `~/.hydra-acp/approver.config.js`. When the rule returns an `optionId` it wins the race and dismisses the prompt before any human client sees it; when it abstains (returns `null`), the prompt stays open for your interactive clients. Useful for centralizing approval policy in one place so per-client approve lambdas can go away.
432
+ **[`@hydra-acp/approver`](https://github.com/smagnuso/hydra-acp-approver) — headless permission auto-responder.** Attaches to every live session and answers `session/request_permission` based on a JS rule at `~/.hydra-acp/approver.config.js`. When the rule returns an `optionId` it wins the race and dismisses the prompt before any human client sees it; when it abstains (returns `null`), the prompt stays open for your interactive clients. Useful for centralizing approval policy in one place so per-client approval can go away.
433
433
 
434
434
  ```sh
435
435
  npm install -g @hydra-acp/approver
436
- hydra-acp extension add hydra-acp-approver --command hydra-acp-approver
436
+ hydra-acp extension add hydra-acp-approver
437
437
  hydra-acp extension start hydra-acp-approver
438
438
  ```
439
439
 
@@ -463,7 +463,7 @@ The daemon refuses to bind to non-loopback hosts without TLS configured.
463
463
  ```
464
464
  ~/.hydra-acp/
465
465
  ├── config.json # daemon config (safe to version-control)
466
- ├── auth-token # service token (mode 0600, never in config.json)
466
+ ├── auth-token # service token (mode 0600)
467
467
  ├── daemon.pid # PID + port lockfile (when running)
468
468
  ├── daemon.<N>.log # rotated daemon logs (10 MB or daily, whichever first)
469
469
  ├── current.log # symlink to the active daemon.<N>.log