只有一层分组One level of groups
四层:父组 → 子组 → 项目 → 会话Four levels: group → subgroup → project → session
项目按工作目录自动归类。把项目放进文件夹一次,它以后的新会话都会自己归位。Projects come from each session's folder. File a project once and its future sessions follow it.
给 Claude 桌面端的 Code 页加一个侧边面板:父组、子组、项目、会话,四层,有颜色,换账号不丢。 A side pane for the Code tab in Claude's desktop app: groups, subgroups, projects, sessions. Colour-coded, and it stays put when you switch accounts.
上面是可以点的演示,数据都是编的:点文件夹折叠,点「等你回复」筛选,点「编辑」换颜色。 That's a live demo with made-up data: click a folder to fold it, "Waiting on you" to filter, "Edit" to recolour.
父组、子组、项目、会话;运行中;等你回复;真实日期;中文与英文;换账号不丢。Groups, subgroups, projects, sessions; running; waiting on you; real dates; Chinese and English; survives account switches.
每天开十几个会话以后,原生侧边栏有四件事不够用。Open a dozen sessions a day and the built-in sidebar falls short in four ways.
只有一层分组One level of groups
项目按工作目录自动归类。把项目放进文件夹一次,它以后的新会话都会自己归位。Projects come from each session's folder. File a project once and its future sessions follow it.
换个账号,分组全没了Switch accounts, lose your groups
原生分组跟着账号走,每次登录都被替换。这里的配置写在 ~/.claude 里,切哪个账号都一样。Built-in groups belong to the account and get replaced at every sign-in. This one keeps its settings in ~/.claude, the same for every account.
没有分组No groups
没变Unchanged
哪个会话在等我回?Which session is waiting on me?
绿点是正在跑。文件夹和项目上会汇总这两个数,不展开也看得到。一键只看「等你回复」。Green means running. Folders and projects add both up, so you see them folded. One click shows only what's waiting on you.
「5 天前」是哪天?"5 days ago" is when, exactly?
今天写时间,昨天写「昨天」,再早写月-日,跨年带年份。Today shows the time, then "Yesterday", then month-day, with the year once it's last year.
只能靠名字认Names are all you get
15 个色块,也可以填 #RRGGBB。项目不设颜色时跟随文件夹。Fifteen swatches, or type a #RRGGBB. A project without its own colour wears its folder's.
需要 macOS 上的 Claude 桌面端。装好后,新开的会话会自动打开面板。Needs Claude's desktop app on macOS. New sessions open the pane by themselves.
/plugin install session-tree --marketplace a1024053774/claude-session-tree
出现 Add marketplace? 输入 y,范围选 user。Answer y to Add marketplace?, then pick the user scope.
面板关掉了,输入 /tree 再打开。面板右上角的 EN / 中文 切换语言。Closed the pane? Type /tree. The EN / 中文 button in the pane switches language.
claude plugin marketplace update session-tree && claude plugin update session-tree@session-tree
在 shell 里运行;新开的会话用上新版。Run it in a shell; new sessions get the new version.