clawmacdo 0.66.1 → 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.
- package/README.md +30 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -554,6 +554,35 @@ clawmacdo cron-remove --instance my-server --name daily-digest
|
|
|
554
554
|
|
|
555
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.
|
|
556
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
|
+
|
|
557
586
|
## Examples
|
|
558
587
|
|
|
559
588
|
### Full Deploy with All Options
|
|
@@ -898,7 +927,7 @@ See [CHANGELOG.md](CHANGELOG.md) for version history and release notes.
|
|
|
898
927
|
|
|
899
928
|
---
|
|
900
929
|
|
|
901
|
-
**Current version:** 0.66.
|
|
930
|
+
**Current version:** 0.66.2
|
|
902
931
|
|
|
903
932
|
|
|
904
933
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clawmacdo",
|
|
3
|
-
"version": "0.66.
|
|
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.
|
|
34
|
-
"@clawmacdo/linux-x64": "0.66.
|
|
35
|
-
"@clawmacdo/win32-x64": "0.66.
|
|
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
|
}
|