[讨论] Codex/Claude Code 会话桥接的官方计划及贡献边界
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- go
- Domain
- developer-experience
Research direction
Read the repository guidance for major changes and review the linked issues #407, #786, and #869 to understand prior work and project boundaries. The issue proposes persistent chat and thread session management, assistant adapters, and task controls, but names no implementation files or tests. Done means maintainers clarify whether this belongs in the project, the accepted contribution scope, and the interfaces to align with.
Written by the indexing model from the issue text.
Description
想先确认官方计划与贡献边界
希望在飞书中给 bot 发消息或在群里 @bot,持续使用本机的 Codex / Claude Code,同时复用 lark-cli 已有的文档、日历、多维表格等能力。看到 README 建议重大改动先通过 Issue 讨论,因此想在动手实现前请教维护者。
目前理解 lark-cli 已提供主要的飞书侧基础能力:
event consume im.message.receive_v1 --as bot接收消息。im +messages-reply回复原消息或话题,event consume card.action.trigger --as bot接收卡片交互。config bind --source lark-channel复用 bridge 的应用凭据;extension/支持外部集成。
我们考虑补充的是上层的助手会话管理:将飞书 chat/thread 与具体助手的 session 关联并持久化,支持继续会话、重置和取消任务,以及转发助手自身的执行确认。飞书收发、业务操作和认证尽量复用 lark-cli,Codex / Claude Code 分别做适配,不另行实现模型调用和 Agent 执行框架。以上是供讨论的初步范围,尚未开始实现。
想请教的问题
- 官方是否已经计划支持这一层能力?如果已有相关 Issue、设计或正在进行的实现,希望能指引一下,避免重复工作。
- 如果尚无计划,是否愿意接受相关外部 PR?更倾向于放入 lark-cli 主仓库,还是独立维护 bridge、仅将通用基础能力或集成示例贡献回本项目?
- 如果可以贡献,建议的最小范围、代码归属及需要先对齐的接口或约束是什么?
已查看的相关工作
- #407 曾提交 Claude Code bot、消息路由和会话管理;当前未合并,并由作者关闭,因此不确定该方向是否符合项目定位。
- #786 已合并 lark-channel 凭据绑定支持。
- #869 讨论的是将现有 CLI + Skills 打包分发为 Codex 插件;理解它与这里的运行时会话桥接诉求不同。
如果上述理解有误,也请指出。谢谢!
- Dominant language
- Go
- Stars
- 18.2k
- Forks
- 1.4k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 18
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from larksuite/cli
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
domain/im
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
bug domain/doc
Difficulty 1/5 Under an hour Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
mail: all-ASCII draft bodies are hard-wrapped every 998 bytes, inserting newlines inside words and tagsPossibly taken @linye157 claimed this 26 days ago. Opendomain/mail
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
auth: a 429 from the Token Endpoint during refresh deletes a still-valid loginPossibly taken @linye157 claimed this 26 days ago. Openbug domain/auth domain/im
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
larksuite/cli#2869 · 5 comments ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
github/github-mcp-server#3960 ·
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
JuliusBrussee/caveman#1594 ·
Maintainers usually reply within 1 day
-
C-bug O-community X-blathers-triaged
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
cockroachdb/cockroach#176264 · 1 comment ·
-
security trivy
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
kubefleet-dev/kubefleet#1068 ·
Maintainers usually reply within 3 days