hzl-cli 1.16.2 → 1.17.1

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 (2) hide show
  1. package/README.md +7 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -631,16 +631,22 @@ hzl serve --stop # Stop the background server
631
631
 
632
632
  ### Running as a service (systemd)
633
633
 
634
- For always-on access (e.g., on an OpenClaw box via Tailscale):
634
+ For always-on access (e.g., on an OpenClaw box via Tailscale). Linux only.
635
635
 
636
636
  ```bash
637
+ mkdir -p ~/.config/systemd/user
637
638
  hzl serve --print-systemd > ~/.config/systemd/user/hzl-web.service
638
639
  systemctl --user daemon-reload
639
640
  systemctl --user enable --now hzl-web
641
+
642
+ # Enable lingering so the service runs even when logged out
643
+ loginctl enable-linger $USER
640
644
  ```
641
645
 
642
646
  The server binds to `0.0.0.0` by default, making it accessible over the network (including Tailscale). Use `--host 127.0.0.1` to restrict to localhost only.
643
647
 
648
+ **macOS:** systemd is not available. Use `hzl serve --background` or create a launchd plist.
649
+
644
650
  ---
645
651
 
646
652
  ## Packages
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hzl-cli",
3
- "version": "1.16.2",
3
+ "version": "1.17.1",
4
4
  "description": "CLI for HZL - External task ledger for coding agents and OpenClaw.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -64,7 +64,7 @@
64
64
  "dependencies": {
65
65
  "libsql": "^0.5.0",
66
66
  "commander": "^14.0.0",
67
- "hzl-core": "^1.16.2",
67
+ "hzl-core": "^1.17.1",
68
68
  "hzl-web": "^1.7.6",
69
69
  "zod": "^3.23.8"
70
70
  },