[Feedback]: Confusing relationship between projects, chats, and sessions — terminology and sync between TUI/CLI and Desktop

未关闭
#25 3 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@aliarain 已经在做这个了。

开始于 2026年8月13日。

评估

这个 Issue 还没有评估数据。

描述

enhancement p2
What problem are you trying to solve?

Summary

I'm confused about how projects, chats, sessions, and transcripts relate in the Desktop app, and how they map to (or fail to map to) CLI/TUI concepts. The naming and behavior feel inconsistent between surfaces, and sessions started in one place don't show up in the other.

Observations

  • A project seems to be tied to a directory, and new chats appear underneath it.
  • Opening a folder I've used before with the TUI/CLI shows no chats — chats appear to be tracked only from within Desktop and do not pull in prior TUI sessions for that directory.
  • When I create a project for an existing directory, the prior chats are hidden under "History."
  • Search shows "chats," but only project-associated chats appear — general/standalone chat items don't show up. Not sure if that's expected or stale data from very early Desktop versions.
  • In 1.9 there's a terminal window. Launching cmd inside it lets me interact with the same project/directory shown in the GUI, but sessions started (prompting/chatting) in that terminal don't appear in the project sidebar as chats.

Questions

  1. Is "project" a Desktop-only concept? Is there a CLI equivalent?
  2. Can I have a chat that isn't associated with a project? What's the use case?
  3. When does a new chat become "history"? Is a session "historic" just because its transcript predates the Desktop project — i.e. anything before project creation is history, and anything new is a "new chat"?
  4. Are the general chat items from older TUI sessions, or stray data from early Desktop versions?
What would improve it?

Expectations / friction

  • Creating a project for an existing directory should find the sessions for that directory, giving comprehensive history.
  • A session started in the in-app terminal (1.9) should show up in the project sidebar as a chat, since it's the same directory/project.
  • Consistent terminology (project / directory / chat / session / transcript) and behavior across Desktop, TUI, headless, and future UI formats would make it much easier to move between surfaces.
What do you do today?

Use the CLI/TUI

BTW - Even here in "Project Area" for GH issues it refers to "projects and sessions" not "chats" so some terminology inconsistency demonstrated.

Product area

Projects and sessions

主要语言
Shell
星标
110
派生
9
平均合并
12 分钟
30 天内合并 PR
1

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CommandCodeAI/desktop 的其他 Issue

查看 CommandCodeAI/desktop 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。