feat: add atomic send-file skill for Matrix file transfer#423
Draft
Jing-ze wants to merge 2 commits intoagentscope-ai:mainfrom
Draft
feat: add atomic send-file skill for Matrix file transfer#423Jing-ze wants to merge 2 commits intoagentscope-ai:mainfrom
Jing-ze wants to merge 2 commits intoagentscope-ai:mainfrom
Conversation
Add a shared send-file.sh script and skill that enables Manager and all Workers (OpenClaw + CoPaw) to send local files as Matrix attachments via a single command. Also fix silent failure in MatrixChannel.send_media() by sending m.notice fallback when upload or delivery fails. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ribution Move send-file from worker-skills/ and skills/ into a new shared-skills/ directory that is automatically distributed to both Manager and all Workers. Update create-worker.sh and upgrade-builtins.sh to push shared-skills to Workers via MinIO alongside builtin skills. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
📊 CI Metrics ReportSummary
By Role
Per-Test Breakdown
Trends✅ 3 test(s) improved (fewer LLM calls) Generated by HiClaw CI on 2026-03-24 12:23:09 UTC |
Contributor
|
Will this PR resolve this issue #427? |
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
send-file.shscript as an atomic tool for uploading local files to Matrix and sending them asm.fileattachments — shared by Manager and all Workers (OpenClaw + CoPaw)send-fileskill for both Manager (manager/agent/skills/send-file/) and Workers (manager/agent/worker-skills/send-file/), registered as a builtin skill for automatic distributionMatrixChannel.send_media()— now sendsm.noticefallback when upload or delivery fails, so users get clear error feedback instead of "Message failed"test-15-file-transfer.shwithmatrix_send_file()andmatrix_wait_for_media_message()test helpersTest plan
bash -nsyntax check passes on all shell scriptspython -c "import ast; ast.parse(...)"passes on matrix_channel.pytest-15-file-transfer.shpasses 8/8 assertions locallymake testwith rebuilt images (send-file.sh deployed in container)send-file.shto send file attachment in Element🤖 Generated with Claude Code