Commit Graph

27 Commits

Author SHA1 Message Date
b9c2d50d62 feat: support Lark (larksuite.com) alongside Feishu
Add larkx/region.py with per-region endpoints, gateway app id and
locale. The region is chosen at login (lark auth qr/import --region,
default LARKX_REGION) and persisted in credentials; every request derives
its URLs from it. Credentials saved before this change are treated as
Feishu.

Fixes found while testing with real Lark and Feishu accounts:
- search: locale belongs on the request header, not searchContext
- storage: drop inline thumbnail bytes so content_data stays valid JSON
- send --root: set parentId, plus isReplyInThread for regular groups;
  topic-mode groups reject that flag, so chat modes are looked up and
  cached per chat
- topic groups (GROUP + chatMode THREAD/THREAD_V2): root messages anchor
  their own thread, except system notices; push handling and
  pull_history share decoders.resolve_scope
- show media/audio durations in seconds (they are milliseconds)
- render @mentions with the mentioned name via AtProperty
- lark send stores the server message id so the WS echo fills in the
  same row instead of inserting a duplicate

proto.proto gains isReplyInThread, AtProperty and PutMessageResponse;
proto_pb2.py is regenerated with grpcio-tools 1.71 (protoc 5.29.0).
2026-09-30 16:04:49 +08:00
2cb4f90fcf Update README.md 2026-08-18 23:02:34 +08:00
b150a2232c Merge pull request #20 from cv-cat/feat/update_alg
feat: update all alg
2026-07-26 13:36:41 +08:00
30530d1bf1 feat: update all alg
更新所有算法
2026-07-26 13:28:15 +08:00
f0d1543da5 Update README.md 2026-07-24 23:55:50 +08:00
6372b6739e Update README.md 2026-07-14 23:51:48 +08:00
71bad7b9bf Update README.md 2026-07-07 22:07:16 +08:00
83567c6569 Update README.md 2026-06-30 12:07:29 +08:00
4eebfec4f3 Update README.md 2026-06-18 16:55:59 +08:00
8b57b8fba5 Update README.md 2026-06-07 13:44:26 +08:00
f488bbe537 Update README.md 2026-06-01 18:53:04 +08:00
8ebdca0cfe Update README.md 2026-05-26 12:21:37 +08:00
558e4229bc Update README.md 2026-05-19 19:02:45 +08:00
383afd3358 Update README.md 2026-05-13 12:45:22 +08:00
6de0ebaf65 Update README.md 2026-04-20 11:45:32 +08:00
ed02716e11 Update README.md 2026-04-14 18:38:45 +08:00
93c1ac067d feat: 更新调用函数 2025-07-15 00:34:53 +08:00
c8a006a885 Update README.md 2025-06-08 20:43:32 +08:00
8458f561d0 Update .env.example 2025-05-08 17:43:34 +08:00
fc45aa3e9f update 2025-04-22 15:50:44 +08:00
38699206dd fix hotbug🚀 2025-04-21 17:04:03 +08:00
50097d1924 fix hotbug🚀 2025-04-21 14:41:16 +08:00
df07e54cd8 fix hotbug🚀 2025-04-21 14:25:20 +08:00
fd67032f01 update 🚀 2025-04-17 22:11:53 +08:00
f3a272c631 update 🚀 2025-04-17 22:10:39 +08:00
0e0f686acb update 🚀 2025-04-17 22:08:21 +08:00
ce1804b35a Lark AI Agent 🚀 2025-04-17 21:40:51 +08:00