clawmacdo 0.66.0 → 0.66.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 +31 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -143,6 +143,7 @@ clawmacdo plugin-install --instance <deploy-id> --plugin "@openguardrails/moltgu
143
143
  clawmacdo update-ip --instance <deploy-id>
144
144
 
145
145
  # Enable Tailscale Funnel (public HTTPS access)
146
+ # Performs clean Tailscale registration (wipes stale state if hostname mismatch)
146
147
  clawmacdo tailscale-funnel --instance <deploy-id> --auth-key "$TAILSCALE_AUTH_KEY"
147
148
  clawmacdo funnel-on --instance <deploy-id>
148
149
 
@@ -553,6 +554,35 @@ clawmacdo cron-remove --instance my-server --name daily-digest
553
554
 
554
555
  > **Performance note:** All cron commands batch the device-pairing approval step with the first gateway command into a single SSH session, minimising handshake overhead.
555
556
 
557
+ ### Webhook Hooks
558
+
559
+ ```bash
560
+ # Enable webhook hooks on an instance (generates token, creates default notify mapping)
561
+ clawmacdo hooks-enable --instance my-server
562
+
563
+ # Send a task to the agent via webhook (delivers response to Telegram)
564
+ clawmacdo hooks-send --instance my-server --task "Check today's weather for Singapore"
565
+
566
+ # Send to a specific mapping
567
+ clawmacdo hooks-send --instance my-server --task "Generate a report" --mapping notify
568
+
569
+ # Show hooks status and all mappings
570
+ clawmacdo hooks-status --instance my-server
571
+
572
+ # Disable webhook hooks
573
+ clawmacdo hooks-disable --instance my-server
574
+ ```
575
+
576
+ External services can also POST directly:
577
+ ```bash
578
+ curl -X POST https://<funnel-url>/hooks/notify \
579
+ -H "Authorization: Bearer <token>" \
580
+ -H "Content-Type: application/json" \
581
+ -d '{"task":"your instruction to the agent"}'
582
+ ```
583
+
584
+ > **Template note:** The `messageTemplate` uses `{{task}}` to extract the `task` field from the JSON payload. Other available template variables: `{{payload.field}}`, `{{headers.X-Header}}`, `{{query.param}}`, `{{path}}`, `{{now}}`.
585
+
556
586
  ## Examples
557
587
 
558
588
  ### Full Deploy with All Options
@@ -897,7 +927,7 @@ See [CHANGELOG.md](CHANGELOG.md) for version history and release notes.
897
927
 
898
928
  ---
899
929
 
900
- **Current version:** 0.66.0
930
+ **Current version:** 0.66.2
901
931
 
902
932
 
903
933
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawmacdo",
3
- "version": "0.66.0",
3
+ "version": "0.66.2",
4
4
  "description": "CLI tool for deploying OpenClaw to multiple cloud providers with pre-installed AI dev tools",
5
5
  "keywords": [
6
6
  "openclaw",
@@ -30,8 +30,8 @@
30
30
  "node": ">=16"
31
31
  },
32
32
  "optionalDependencies": {
33
- "@clawmacdo/darwin-arm64": "0.66.0",
34
- "@clawmacdo/linux-x64": "0.66.0",
35
- "@clawmacdo/win32-x64": "0.66.0"
33
+ "@clawmacdo/darwin-arm64": "0.66.2",
34
+ "@clawmacdo/linux-x64": "0.66.2",
35
+ "@clawmacdo/win32-x64": "0.66.2"
36
36
  }
37
37
  }