[讨论] Codex/Claude Code 会话桥接的官方计划及贡献边界

Open
#2,852 0 comments 0 reactions 0 assignees View on GitHub

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

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

domain/base domain/calendar domain/core domain/doc domain/im enhancement

想先确认官方计划与贡献边界

希望在飞书中给 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 执行框架。以上是供讨论的初步范围,尚未开始实现。

想请教的问题

  1. 官方是否已经计划支持这一层能力?如果已有相关 Issue、设计或正在进行的实现,希望能指引一下,避免重复工作。
  2. 如果尚无计划,是否愿意接受相关外部 PR?更倾向于放入 lark-cli 主仓库,还是独立维护 bridge、仅将通用基础能力或集成示例贡献回本项目?
  3. 如果可以贡献,建议的最小范围、代码归属及需要先对齐的接口或约束是什么?

已查看的相关工作

  • #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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from larksuite/cli

All issues in larksuite/cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.