Repository navigation
feat: openclaw migration + outbound delivery - #27
Merged
Merged
Conversation
Adds proper outbound.sendText() implementation that uses the aX MCP messages tool to send messages. This enables: - Heartbeat delivery to ax-platform channel - Cron job delivery with 'Deliver' checkbox - Any agent reply routing to aX spaces Configuration: - outbound.tokenFile: Path to OAuth token JSON file - outbound.mcpEndpoint: MCP server URL (default: https://mcp.paxai.app) - outbound.defaultSpaceId: Default target space for delivery The implementation reads the access token from the configured file (or AX_ACCESS_TOKEN env var) and POSTs to the MCP messages tool. Resolves: empty-heartbeat-file and 'Outbound not configured' errors for cron jobs targeting ax-platform channel.
- Config now reads from channels.ax-platform.accounts (standard pattern)
- Falls back to plugins.entries.ax-platform.config.agents (legacy)
- Each agent handle becomes an account for multi-agent support
- Added status adapter for health checks (configured, accounts, sessions)
- Enhanced capabilities (media, threads, mentions)
This should fix 'configured: false' in gateway health checks and enable
proper delivery/heartbeat routing.
Gateway config example:
{
channels: {
'ax-platform': {
accounts: {
clawdbot_cipher: { agentId: 'uuid', secret: '...', handle: '@clawdbot_cipher', enabled: true }
}
}
}
}
- Renamed clawdbot.plugin.json -> openclaw.plugin.json (required by OpenClaw) - Added channelConfigSchema for channels.ax-platform.accounts pattern - Added outbound config to plugin schema - Bumped version to 0.3.0 This should fix 'Channel config schema unavailable' in gateway UI.
Clawdbot gateway looks for clawdbot.plugin.json, not openclaw.plugin.json. The schema content added in previous commit is preserved.
- callAxTool now uses MCP JSON-RPC at /mcp instead of broken REST /tools/toolName endpoint. Handles both SSE and JSON responses. - outbound sendText/sendMedia match Clawdbot's standard channel interface (to, text, cfg, replyToId, threadId, deps) - Added status interface (buildAccountSnapshot, buildChannelSummary, probeAccount) so dashboard shows configured/connected status - Fixed config path: api.config is full clawdbot.json, plugin config lives at plugins.entries.ax-platform.config - Probe only hits paxai.app for prod agents, with 60s cache - setup.sh now writes outbound config with auto-detected token file - config.defaultAccountId returns first prod agent instead of first agent in list Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Security upgrade to patch CVE-2026-25253 (WebSocket RCE), CVE-2026-25157 (SSH cmd injection), CVE-2026-24763 (container escape), and CVE-2026-25475 (path traversal). - Rename plugin manifest to openclaw.plugin.json - Add openclaw key to package.json (keep clawdbot for compat) - Update peerDependencies to openclaw - setup.sh auto-detects openclaw vs clawdbot CLI - All paths, LaunchAgent refs, and log paths are now dynamic Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
openclaw.plugin.jsonwith backward-compatiblepackage.jsonChanges included (9 commits)
Test plan
🤖 Generated with Claude Code