Skip to content

feat: 把本机 Claude Code 接到对话页 - #31

Merged
SATA260 merged 6 commits into
mainfrom
feat/kanban-claude
Sep 17, 2026
Merged

SATA260 merged 6 commits into
mainfrom
feat/kanban-claude

Conversation

@SATA260

@SATA260 SATA260 commented Sep 17, 2026

Copy link
Copy Markdown
Owner

改了什么 / What changed

  • 本机 Claude Code 接到独立 /claude HTTP 与 ClaudeClient,会话 / 实录 / 配置从本机 CLI 读,不落库、不扩 Agent。
  • 新建会话在对话页选 Local / Codex / Claude(Claude 走 /s/claude/:id),设置点选即生效;权限档用官方英文标签。
  • fork 按官方复制实录并加 (1)(2)(3),侧栏正文可省略、序号必须留下;压缩按钮显示官方剩余上下文。fork 只挂在 AI 回复下。Codex 同样编号。

怎么验证 / How to verify

  • cd server && go test ./...
  • pnpm test:client
  • 本机已登录 Claude Code 时,新建会话选 Claude 能发消息、看见实录回放
  • 进行中再发一条会排队;打断后继续下一条
  • fork 打开子会话,标题为 原标题 (1),侧栏长标题仍能看到序号;用户消息下没有 fork
  • 压缩按钮显示剩余百分比;悬停能看到还剩多少 token
  • Local / Codex 会话不受影响

相关 Issue / Related issue:Closes #14

Made with Cursor

SATA260 and others added 5 commits September 7, 2026 14:26
会话、实录和配置从本机 Claude 读,不落库;HTTP 入参出参定死,供看板调用。

Co-authored-by: Cursor <cursoragent@cursor.com>
从本机 claude 读会话与实录,HTTP 契约不变;假 CLI 覆盖主路径,已登录时可跑 live 测试。

Co-authored-by: Cursor <cursoragent@cursor.com>
让 Local / Codex / Claude 共用一张对话页;fork 后标题带序号且侧栏始终可见,压缩按钮显示还剩多少上下文。

Co-authored-by: Cursor <cursoragent@cursor.com>
用户消息下面不再出现 fork,避免和助手回复的分叉入口混在一起。

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 343fd1cd-7eb1-43b3-8e72-fd9fadcf496e


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

CI 的 server lint 卡在 handler/claude.go 的结构体对齐。

Co-authored-by: Cursor <cursoragent@cursor.com>
@SATA260
SATA260 merged commit 3523e99 into main Sep 17, 2026
3 checks passed
@SATA260
SATA260 deleted the feat/kanban-claude branch September 17, 2026 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Module] 本机 Claude Code 引擎适配与实录复用

1 participant