Track last time a session was open in the session_store
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
### Describe the feature or problem you'd like to solve
Computer restarts and I need to restore my sessions. Love to review the sessions that were open to recover them.
### Proposed solution
Add a last_open column of type time to session store. Every 5 minutes, update the time in the column. Then I can see when each session was open regardless of whether I took any action in it.
### Example prompts or workflows
show me all the sessions that were open today
show me all the sessions that were open last week
look at all the open sessions from today - is any of them related to feature X?
### Additional context
_No response_
贡献指南
调研方向
该 issue 提到了 session_store,但没有提供文件或测试路径。先定位该 store 和 session 生命周期的入口点,然后检查重启后 session 的持久化和查询方式。完成标准是定期记录上次打开时间,并通过测试支持所述的今天和上周 session 工作流。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell
- 领域
- cli
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100