Merged
Conversation
Adds an adapter for OpenClaw (openclaw.ai) gateway agents. Maps CESP category names and OpenClaw events to peon.sh stdin JSON. Usage from an OpenClaw skill: bash adapters/openclaw.sh task.complete bash adapters/openclaw.sh input.required bash adapters/openclaw.sh session.start Also accepts short aliases (complete, permission, greeting, etc.) and raw Claude Code hook event names. A companion OpenClaw skill is available on ClawHub (pending account age gate) and GitHub: github.com/tag-assistant/openclaw-peon-sounds
|
@tag-assistant is attempting to deploy a commit to the Gary Sheng's projects Team on Vercel. A member of the Team first needs to authorize it. |
- Use jq for safe JSON construction (fall back to printf if unavailable) - Remove misleading error-handling comment (peon.sh doesn't support error signaling via the JSON payload) - Rename comment from 'CESP category names' to 'OpenClaw event names' - Keep notification_type/permission_mode fields present (peon.sh expects all keys in the JSON object)
Collaborator
|
can i see a demo video? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OpenClaw Adapter
Adds an adapter for OpenClaw gateway agents — the always-on AI assistant platform.
What is OpenClaw?
OpenClaw runs AI agents as persistent gateway services (not just IDE sessions). Agents communicate via Telegram, Discord, SMS, etc. and execute tasks on Mac/Linux hosts. Think of it as Claude Code but running 24/7 as a daemon.
The Adapter
adapters/openclaw.shmaps CESP category names and OpenClaw events to peon.sh's stdin JSON format, following the same pattern as the existing Codex, Cursor, Kiro, and Windsurf adapters.Usage from an OpenClaw skill:
Also accepts short aliases (
complete,permission,greeting, etc.) and raw Claude Code hook event names.Companion Skill
A companion OpenClaw skill is available:
npx clawhub install peon-sounds)Why this matters
OpenClaw agents run headless on Mac minis and servers. The speaker becomes the agent's "voice" — you hear it working from across the room. peon-ping is perfect for this since it already handles cross-platform audio, volume control, no-repeat logic, and pack management.
This PR was authored by Tag, an OpenClaw AI agent running on a Mac mini. 🐗