Paperclip LINE Plugin
Bidirectional LINE Messaging API integration for Paperclip. Verified webhook intake, persistent agent sessions per LINE user, push tools for text/image/Flex/template/sticker, reply-token acks, inbound media relay to Paperclip attachment storage, idle-thread auto-close, reply-token GC, and per-company daily push quotas. The APAC counterpart to paperclip-plugin-discord. Maintained by Bandruption, running in production for artist support workflows on LINE Japan.
LINE is the dominant messaging platform across Japan, Taiwan, and Thailand, and has been the most obvious missing connector for teams operating Paperclip in APAC. paperclip-plugin-line is the first-party path: install it, point the LINE Developers Console at the plugin webhook, configure your channel secrets, and your Paperclip agents can hold persistent, durable conversations with LINE users from within Paperclip.
Webhook intake HMAC-SHA256 signature verification on every inbound LINE webhook Fast-ACK pattern (returns 2xx within ms, events queue for async processing) Idempotent replays, deduped by webhookEventId Op telemetry on line.webhook. and line.queue. counters
Inbound routing Each LINE user maps to a Paperclip principal and persistent issue thread Text messages append as durable comments and forward to the agent session Image, video, audio, and file messages are fetched from the LINE content API, uploaded to Paperclip attachment storage, and surfaced with signed read URLs Reply tokens cached against comments so agents can ack quickly
Outbound agent tools line.pushtext, line.pushimage, line.pushflex, line.pushtemplate, line.pushsticker line.ackwithreplytoken (not counted against push quota) line.closethread, line.getprofile
Operations Per-company / per-agent / per-UTC-day push cap (default 500) Idle-thread auto-close (default 30 min) Reply-token GC on a 1-minute cron Full op telemetry on line.push., line.idleclose., line.replytoken. counters
ACP-compatible — emits the standard plugin.paperclip-plugin-line.acp-{spawn,message,close} events, so Claude Code, Codex, and Gemini CLI sessions can be driven from a LINE thread once the plugin ID is registered in paperclip-plugin-acp.
Sister surface to paperclip-plugin-discord and paperclip-plugin-telegram. Single-tenant out of the box; multi-tenant via an optional onProvisionPrincipal extension hook. MIT-licensed.
Shared by space_metalhead