@clawcrony/claw-crony 1.2.3 → 1.3.0

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.
@@ -0,0 +1,16 @@
1
+ param(
2
+ [Parameter(Mandatory = $true)]
3
+ [string[]] $Skills,
4
+ [string] $Description = ""
5
+ )
6
+
7
+ $payload = @{
8
+ skills = $Skills
9
+ }
10
+
11
+ if ($Description) {
12
+ $payload.description = $Description
13
+ }
14
+
15
+ $json = $payload | ConvertTo-Json -Depth 20 -Compress
16
+ openclaw gateway call a2a.match --params $json
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ skills="${1:-}"
5
+ description="${2:-}"
6
+
7
+ if [[ -z "$skills" ]]; then
8
+ echo "usage: $0 chat,code_review [description]" >&2
9
+ exit 2
10
+ fi
11
+
12
+ params="$(node -e 'const skills=process.argv[1].split(",").map((s)=>s.trim()).filter(Boolean); const description=process.argv[2] || ""; const payload={skills}; if (description) payload.description=description; process.stdout.write(JSON.stringify(payload));' "$skills" "$description")"
13
+ openclaw gateway call a2a.match --params "$params"
@@ -0,0 +1 @@
1
+ openclaw gateway call a2a.peers --params "{}"
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ openclaw gateway call a2a.peers --params "{}"
@@ -0,0 +1,23 @@
1
+ param(
2
+ [Parameter(Mandatory = $true)]
3
+ [string] $Peer,
4
+ [Parameter(Mandatory = $true)]
5
+ [string] $Text,
6
+ [string] $AgentId = ""
7
+ )
8
+
9
+ $message = @{
10
+ text = $Text
11
+ }
12
+
13
+ if ($AgentId) {
14
+ $message.agentId = $AgentId
15
+ }
16
+
17
+ $payload = @{
18
+ peer = $Peer
19
+ message = $message
20
+ }
21
+
22
+ $json = $payload | ConvertTo-Json -Depth 20 -Compress
23
+ openclaw gateway call a2a.send --params $json
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ peer="${1:-}"
5
+ text="${2:-}"
6
+ agent_id="${3:-}"
7
+
8
+ if [[ -z "$peer" || -z "$text" ]]; then
9
+ echo "usage: $0 <peer> <text> [agentId]" >&2
10
+ exit 2
11
+ fi
12
+
13
+ params="$(node -e 'const peer=process.argv[1]; const text=process.argv[2]; const agentId=process.argv[3] || ""; const message={text}; if (agentId) message.agentId=agentId; process.stdout.write(JSON.stringify({peer,message}));' "$peer" "$text" "$agent_id")"
14
+ openclaw gateway call a2a.send --params "$params"
@@ -0,0 +1,3 @@
1
+ openclaw plugins update claw-crony
2
+ openclaw gateway restart
3
+ openclaw plugins inspect claw-crony --runtime
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ openclaw plugins update claw-crony
5
+ openclaw gateway restart
6
+ openclaw plugins inspect claw-crony --runtime