hzl-cli 1.12.1 → 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.
- package/README.md +12 -1
- 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
|
|
|
@@ -461,6 +463,15 @@ https://raw.githubusercontent.com/tmchow/hzl/main/docs/openclaw/tools-prompt.md
|
|
|
461
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:
|
|
462
464
|
|
|
463
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
|
+
```
|
|
464
475
|
<!-- END [code:txt] docs/snippets/upgrade-hzl-prompt.md -->
|
|
465
476
|
|
|
466
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.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hzl-cli",
|
|
3
|
-
"version": "1.12.
|
|
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.
|
|
41
|
+
"hzl-core": "^1.12.2",
|
|
42
42
|
"hzl-web": "^1.7.6",
|
|
43
43
|
"zod": "^3.23.8"
|
|
44
44
|
},
|