feat(opencode): add LINE Messaging API integration#13799
Open
monthop-gmail wants to merge 2 commits intoanomalyco:devfrom
Open
feat(opencode): add LINE Messaging API integration#13799monthop-gmail wants to merge 2 commits intoanomalyco:devfrom
monthop-gmail wants to merge 2 commits intoanomalyco:devfrom
Conversation
Add packages/line - LINE bot that bridges LINE messages to OpenCode, following the same pattern as the existing Slack integration. Each LINE user gets their own OpenCode session. Messages are forwarded to the AI coding agent, and responses are sent back through LINE. Tool updates are sent as real-time notifications. Commands: /new, /abort, /sessions Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
- Add @types/bun to devDependencies for Bun.serve types - Remove response.info.content (not on AssistantMessage type) - Extract text from response.parts with proper typing Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Closed
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.
Closes #13801
Summary
packages/line/- LINE Messaging API integration for OpenCode, following the same pattern as the existing Slack integration (packages/slack/)createOpencode()from@opencode-ai/sdkHow it works
Commands
/new- Start a new coding session/abort- Cancel the current prompt/sessions- Show active session infoFiles
packages/line/package.json@opencode-ai/sdk,@line/bot-sdkpackages/line/src/index.tspackages/line/.env.examplepackages/line/tsconfig.jsonpackages/line/README.mdTest plan
.envwith LINE credentialscd packages/line && bun dev/new→ verify new session created/abort→ verify prompt cancelled🤖 Generated with Claude Code