feat(channels): add LINE Official Account channel support#147
Merged
yinwm merged 4 commits intosipeed:mainfrom Feb 14, 2026
Merged
feat(channels): add LINE Official Account channel support#147yinwm merged 4 commits intosipeed:mainfrom
yinwm merged 4 commits intosipeed:mainfrom
Conversation
Add LINE Messaging API as the 9th messaging channel using HTTP Webhook. Supports text/image/audio messages, group chat @mention detection, reply with quote, and loading animation. - No external SDK required (standard library only) - HMAC-SHA256 webhook signature verification - Reply Token (free) with Push API fallback - Group chat: respond only when @mentioned - Quote original message in replies using quoteToken Closes sipeed#146 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Merge upstream changes (HeartbeatConfig addition) alongside LINEConfig. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fix web_test.go and config_test.go to use current function signatures after merging upstream changes (WebSearchToolOptions, BraveConfig). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collaborator
|
test failed, please fix them , thanks @ex-takashima |
Contributor
Author
|
@yinwm Thanks for the review! I've already fixed the test failures in the latest commit (6463796). The test issues were caused by upstream API signature changes ( Could you approve the CI workflow run so the checks can execute? Since this is my first contribution, the workflow requires maintainer approval. Thank you! |
Collaborator
|
thanks for the pr |
emadomedher
pushed a commit
to emadomedher/picoclaw
that referenced
this pull request
Feb 17, 2026
feat(channels): add LINE Official Account channel support
StarWindv
referenced
this pull request
in StarWindv/PicoClaw-shou
Feb 19, 2026
feat(channels): add LINE Official Account channel support
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
Files Changed
pkg/channels/line.go— Full LINE channel implementation (webhook server, signature verification, mention detection, quote support, loading animation)pkg/config/config.go— AddLINEConfigstruct withchannel_secret,channel_access_token, webhook settingspkg/channels/manager.go— Register LINE channel ininitChannels()config/config.example.json— Add LINE config section.env.example— Add LINE environment variablesConfiguration
{ "channels": { "line": { "enabled": true, "channel_secret": "YOUR_CHANNEL_SECRET", "channel_access_token": "YOUR_CHANNEL_ACCESS_TOKEN", "webhook_host": "0.0.0.0", "webhook_port": 18791, "webhook_path": "/webhook/line", "allow_from": [] } } }LINE Setup
https://your-domain:18791/webhook/line(HTTPS required — use reverse proxy or tunnel)Test plan
go build ./...compiles cleanlyCloses #146
🤖 Generated with Claude Code