Fix issues with OpenClaw and MyClaw integrations#47
Draft
Conversation
Agent-Logs-Url: https://github.com/lippytm/AI-Time-Machines/sessions/a9e93243-c6b2-4b47-bc9b-ee6d0b046d7e Co-authored-by: lippytm <65956507+lippytm@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix issues with OpenClaw and MyClaw
Fix issues with OpenClaw and MyClaw integrations
Apr 11, 2026
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.
Description
OpenClaw tests were failing due to missing
node_modulesandOPENCLAW_API_KEYabsent from.env.example. MyClaw integration was entirely missing from the codebase.Type of Change
Related Issue(s)
Changes Made
OpenClaw fixes:
OPENCLAW_API_KEYto.env.exampleMyClaw — new integration (
src/myclaw.js):sendNotification(channel, message)— multi-channel alerts (email/SMS/push)sendPredictionAlert(prediction, channel)— formatted prediction notificationsupsertWidget(widgetId, data)— create/update dashboard widgets (POST vs PUT based onwidgetId)syncPredictionToDashboard(prediction, dashboardId)— push prediction data to a named dashboard_requestHTTP/HTTPS transport mirroring OpenClaw patternWiring:
src/index.js— exportsMyClawbackend/src/models/Integration.js—'myclaw'added to platform ENUMbackend/src/controllers/integrationsController.js— MyClaw entry ingetPlatformsandformatPredictionForPlatformINTEGRATIONS.md— MyClaw documented as section 7; supported export formats updatedTesting
13 new tests in
tests/myclaw.test.jscover constructor validation, all public methods, error handling, and non-JSON responses. All 73 root-level tests pass.Screenshots (if applicable)
N/A
Checklist
Additional Context
MyClaw follows the identical structural pattern as
openclaw.js— same HTTP transport, samesource/versionheaders, same error wrapping conventions.