Skip to content

feat: 飞书端 /project 命令 — 项目切换与隐藏#153

Closed
shellmind112 wants to merge 2 commits intofeishu/modelfrom
feishu/project
Closed

feat: 飞书端 /project 命令 — 项目切换与隐藏#153
shellmind112 wants to merge 2 commits intofeishu/modelfrom
feishu/project

Conversation

@shellmind112
Copy link
Copy Markdown
Collaborator

@shellmind112 shellmind112 commented Apr 7, 2026

Issue for this PR

Closes #148
Depends on #152

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

在飞书端支持项目切换与隐藏,数据源与微信端一致(Project.recentList())。

  • /project 查看项目列表,/project n 切换,/project hide n 隐藏
  • 切换后消息通过 Instance.provide() 在对应项目的上下文中执行
  • 自动取消隐藏双机制:飞书消息直接判断 + GlobalBus 监听 web 端活动
  • _chatDirs[chatId] 存储 per-chat 工作目录

How did you verify your code works?

  • 验证 /project 列表显示正确
  • 验证 /project n 切换后 AI 回复归属正确项目
  • 验证 /project hide n 隐藏和自动恢复

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@shellmind112 shellmind112 force-pushed the feishu/project branch 2 times, most recently from c45e9e2 to adb71f8 Compare April 9, 2026 15:42
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.

1 participant