hzl-cli 1.12.0 → 1.12.2

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 +21 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -431,9 +431,11 @@ HZL fits well as the task ledger that OpenClaw (and its sub-agents) can share.
431
431
 
432
432
  Copy/paste this into an OpenClaw chat (single prompt):
433
433
 
434
- ```
434
+ <!-- START [code:txt] docs/snippets/openclaw-setup-prompt.md -->
435
+ ```txt
435
436
  Install HZL from https://github.com/tmchow/hzl and run hzl init. Install the HZL skill from https://www.clawhub.ai/tmchow/hzl. Then append the HZL policy from https://raw.githubusercontent.com/tmchow/hzl/main/docs/openclaw/tools-prompt.md to my TOOLS.md.
436
437
  ```
438
+ <!-- END [code:txt] docs/snippets/openclaw-setup-prompt.md -->
437
439
 
438
440
  ### Manual setup
439
441
 
@@ -456,6 +458,24 @@ HZL is a tool available to you for task management in certain cases. I want you
456
458
  https://raw.githubusercontent.com/tmchow/hzl/main/docs/openclaw/tools-prompt.md
457
459
  ```
458
460
 
461
+ ### Upgrading HZL
462
+
463
+ To keep both the HZL CLI and your OpenClaw skill up to date, copy/paste this prompt into an OpenClaw chat. It creates a script you can reuse:
464
+
465
+ <!-- START [code:txt] docs/snippets/upgrade-hzl-prompt.md -->
466
+ ```txt
467
+ Create a script at scripts/upgrade-hzl.sh (in your workspace) that upgrades both the hzl-cli npm package and the hzl skill from ClawHub. The script should:
468
+
469
+ 1. Run `npm install -g hzl-cli@latest`
470
+ 2. Run `npx clawhub update hzl` from the workspace directory
471
+ 3. Print the installed version after each step
472
+
473
+ Make it executable. In the future when I say "upgrade hzl", run this script.
474
+ ```
475
+ <!-- END [code:txt] docs/snippets/upgrade-hzl-prompt.md -->
476
+
477
+ After running this once, just say "upgrade hzl" to OpenClaw to run the script. Consider adding a cron job to have OpenClaw run the upgrade automatically on a schedule.
478
+
459
479
  ---
460
480
 
461
481
  ## When to use HZL (and when not to)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hzl-cli",
3
- "version": "1.12.0",
3
+ "version": "1.12.2",
4
4
  "description": "CLI for HZL - External task ledger for coding agents and OpenClaw.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  "dependencies": {
39
39
  "libsql": "^0.5.0",
40
40
  "commander": "^14.0.0",
41
- "hzl-core": "^1.12.0",
41
+ "hzl-core": "^1.12.2",
42
42
  "hzl-web": "^1.7.6",
43
43
  "zod": "^3.23.8"
44
44
  },