Skip to content

feat(line): migrate our LINE customizations to upstream plugin structure #80

Closed

Description

@Piboonsak

Context

Upstream openclaw/openclaw moved all LINE code from src/line/ to extensions/line/src/ (full plugin extraction). Our Sprint 3.5-3.7 customizations target the old src/line/ paths which no longer exist upstream.

Files to Migrate

Our File (old path) New Upstream Path Our Changes
src/line/bot-message-context.ts extensions/line/src/bot-message-context.ts +25 lines: reply context awareness
src/line/bot-message-context.test.ts extensions/line/src/bot-message-context.test.ts +113 lines: reply context tests
src/line/send.ts extensions/line/src/outbound.ts +128/-19: outbound improvements
src/line/bot-handlers.ts extensions/line/src/bot-handlers.ts +31 lines: handler extensions
src/line/bot.ts extensions/line/src/bot.ts +4 lines
src/line/monitor.ts extensions/line/src/monitor.ts +16 lines

What To Do

  1. Take the upstream version of each file from extensions/line/src/
  2. Re-apply our customizations (reply context, outbound changes, handler extensions) onto the new upstream code
  3. Delete our old src/line/ files that upstream removed
  4. Ensure extensions/line/index.ts includes our heartbeat command registration (we added 4 lines)
  5. Keep our new files untouched: extensions/line/src/heartbeat-command.ts, thinking-command.ts, thinking-command.test.ts

Acceptance Criteria

  • All LINE reply context awareness works on new plugin structure
  • extensions/line/index.ts registers heartbeat command
  • Old src/line/ files removed
  • Tests pass: pnpm test

References

Activity

  1. Piboonsak commented on Apr 6, 2026

    @Piboonsak
    OwnerAuthor

    ? Sprint 4.0 - Closed via merge
    Commit: 06cdba99f - PR #86
    All 6 upstream sync PRs merged successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions