Feature: chat-app connectors (WeChat via Tencent iLink as reference implementation)

Đang mở
#765 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@Lumea-art đang làm issue này rồi.

Từ ngày 27/11/2026.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
api, backend

Hướng nghiên cứu

Start by reading the existing agent turn and message attribution flow, then compare it with the prototype mentioned in the issue if it becomes available. Define how inbound messages wake a turn as the human and how the bot identity stays distinct; done means a connector interface and iLink reference implementation satisfy those rules. The issue names no source files or tests.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Feature: chat-app connectors (WeChat via Tencent iLink as reference implementation)

Linger is reachable where its own clients are. Most of what I want to ask it arrives somewhere else — walking, in transit, between meetings — and the gap between "an app I open" and "an assistant that reaches me" is an address on the surface I already carry.

I built a working WeChat prototype, and it convinced me the abstraction is worth having. The connector work is nearly identical across apps and none of it is the interesting part of Linger: authenticate, receive, send, declare what the surface can do. So: a Connector interface — authenticate(), poll() / webhook(), send(), describeCapabilities() — with iLink as the reference implementation and Slack, Telegram and WhatsApp mapping onto the same four verbs.

The real lesson is an invariant, not an API. Inbound external messages must wake the agent as a new turn attributed to the human, never as a message the agent authored. My first version relayed the incoming text into the agent's own conversation; it displayed perfectly and did nothing, because an agent's own message is output, not input, so no turn runs. The user sees their words echoed back with no answer.

Related but distinct from #686: that one is about MCP tool connectors with polling rules; this is about chat surfaces the agent itself lives on, where the hard part is wake semantics rather than tool discovery.

Also worth settling early: the bot identity is separate from the human's account, so it sees only conversations addressed to it and must never be presented as the human. My prototype is DM-only on one machine — a prototype, not production code. Happy to open it as a draft PR if this direction is wanted.

Ngôn ngữ chính
TypeScript
Star
3.8k
Fork
360
Merge trung bình
8 giờ 10 phút
Pull request đã merge (30 ngày)
540

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của simplexai-labs/linger

Tất cả issue của simplexai-labs/linger

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.