Code Déjà Vu

Code Déjà Vu 0.6.1

A local desktop tool for browsing and managing sessions, instructions, and configuration left by Claude Code, Codex CLI, and OpenCode

  • By jnchen
  • Open Source
  • Updated Oct 27, 2026
Download for Windows

About Code Déjà Vu

Code Déjà Vu is a local desktop tool built with Tauri, SvelteKit, and Rust, for browsing and managing in one place the sessions, instructions, and configuration that Claude Code, Codex CLI, and OpenCode leave on your machine. Session parsing, search indexing, and configuration management all happen locally. The app does not upload session content to the maintainer's services; manual update checks access the GitHub Release endpoint.

What's new in 0.6.1

修复
- 后台索引更新不再静默:启动缓存恢复/增量对账、磁盘变更自动刷新、快照归档操作
每次重建索引都会向前端广播事件——侧边栏显示"索引更新中…"转圈,完成后若有新增
会话弹出提示,会话列表和控制台自动刷新(新增来源如 DSH 的会话不再"迟到且无提示")。
- 会话档案页顶栏在默认窗口宽度下,搜索框被来源/范围按钮挤压到看不清占位符的
问题:顶栏改为可换行,搜索框保底 220px 宽。
- 操作指南补齐 DeepSeek Harness:数据目录与 DSH_HOME、会话代际/压缩格式、快照范围、
能力矩阵,以及自定义恢复命令模板与各桌面端预设的说明;下载一节修正为实际发布产物。

Full release notes »

Technical details

Publisherjnchen
Version0.6.1
Release date2026-10-27
LicenseMIT
Installer typenullsoft
Architecturex64
Package IDjnchen.CodeDejavu
Install scopeCurrent user

Install Code Déjà Vu from the command line

Install with Windows Package Manager
winget install --id=jnchen.CodeDejavu -e
Update to the latest version
winget upgrade --id=jnchen.CodeDejavu -e
Uninstall
winget uninstall --id=jnchen.CodeDejavu -e
Silent install with the offline installer
"code-dejavu_0.6.1_x64-setup.exe" /S

Silent install switches for more Windows programs »

Install Code Déjà Vu together with other apps in one command »

claude-codecodexopencode

Code Déjà Vu version history

0.6.0 Oct 26, 2026

新增
- 新增 DeepSeek Harness(dsh)会话来源:读取 $DSH_HOME(默认 ~/.dsh)下
sessions/--<project>--/<session>/session[.vN].jsonl[.zstd],兼容 raw JSONL 与
Zstandard 压缩日志,并解析会话、消息、思考、工具调用/结果、用量、会话内搜索和子代理。
- 每个 Agent 的恢复命令都可在设置页自定义模板,占位符:{session}(带引号 ID)、
{session_raw}、{project}、{project_raw};留空回退各 Agent 默认命令。
各桌面端预设:Claude Desktop 用官方 claude --desktop --resume <id> 直达会话;
Codex Desktop 用 codex://threads/<id> 深链;OpenCode Desktop 与 DSH Web/Desktop
暂无会话级链接,预设以 opencode://open / dsh://open 唤起应用后手动选择会话;
DSH 另提供 Web / Headless 预设。DSH 亦支持快照/恢复、全局与项目 AGENTS.md 指令。

0.5.0 Oct 26, 2026

新增
- OpenCode 同时支持 v1 与 v2 两种本地存储:v1 的 session/message/part 和 v2 的
session_v2/session_message 都会读取。升级到 v2 后仍保留在 v1 表中、未被迁移的旧会话
也会继续显示,两个版本都有的会话按 ID 去重并以 v2 为准。
- OpenCode v2 的会话、消息、工具调用、子代理、搜索、用量和归档均可正常解析,包括新的
subagent 工具和嵌套子代理。
- Claude Code 子代理元数据兼容可选字段和 parentAgentId:缺少 description/toolUseId
的子代理不再被跳过;嵌套子代理仍可在父会话的 Agent 卡片中逐层展开。
改进
- OpenCode v2 的 read/write/edit 参数、shell 工具和工具结果统一映射到现有的文件与
终端卡片。
- 未安装 OpenCode v2 的用户不受影响:纯 v1 数据库仍走原有解析路径。
- 新增两层 E2E 测试:Playwright 前端测试使用内存 IPC 夹具,覆盖会话、全部主页面、
快照/记忆/规则/指令/设置等写流程,以及分页、深度搜索、进程关闭、WSL 徽标、更新检查和
多级子代理;原生 Tauri WebDriver 测试使用一次性 home 和夹具数据,覆盖 Claude、Codex、
OpenCode v1/v2、Pi 的真实解析链路与两级子代理。二者都不会读取或修改真实 agent
记录。详见 docs/E2E_TESTING.md。
- 新增真实数据只读核心测试:复制本机会话到一次性 home 后运行,验证索引、四类来源、
会话打开与真实搜索,原始数据保持只读;测试前后校验 mtime。
修复
- 设置页检测到新版本时,更新日志现在按 Markdown 渲染,不再直接显示 ##、列表符号等源文本。

0.4.0 Aug 12, 2026

新增
- 新增 PiAgent 会话来源,支持 macOS、Windows 和 WSL 下的会话浏览、搜索、用量统计与
pi --session 恢复,并可识别默认目录、环境变量和 Pi 配置中的自定义 sessionDir。
- PiAgent 支持创建、恢复、重命名和删除快照;归档会话可在“归档”范围中继续查看和搜索,
恢复前会生成 auto-* 备份,同时保留当前 auth.json 登录状态。
- 会话详情可展示关联的 PiAgent 进程;PiAgent、Claude Code 和 OpenCode 进程保持只读,
Codex 仍可在二次确认后关闭精确关联的进程树。
改进
- PiAgent 追加式树会话按持久化顺序完整展示,包括思考、并行工具调用、工具结果、压缩摘要、
模型上下文与所有历史分支。
- PiAgent 的原生与 WSL 数据、索引和快照按主机隔离;无关联进程时不显示进程操作入口。
- 模型价格刷新、联网失败时的内置价格和厂商前缀规范化继续覆盖 Fable 5 及常用模型系列。

Other versions

  • 0.2.3

Frequently asked questions

Is Code Déjà Vu free?

Yes. Code Déjà Vu is free and open-source software released under the MIT license.

What is the latest version of Code Déjà Vu?

The latest version is 0.6.1, released on Oct 27, 2026.

Is it safe to download Code Déjà Vu?

The download button links to the official installer published on github.com, the same file Windows Package Manager installs. You can verify the downloaded file by comparing its SHA-256 checksum with fd6d09ac9b10a433cbd68efe0404e95deb058e9a51c35007c0115ca0bccd9530.

Which Windows versions does Code Déjà Vu support?

Code Déjà Vu runs on Windows and is available for 64-bit (x64) systems.

How do I install Code Déjà Vu silently?

Run the offline installer with "code-dejavu_0.6.1_x64-setup.exe" /S, or install it with Windows Package Manager: winget install --id=jnchen.CodeDejavu -e --silent.

How do I uninstall Code Déjà Vu?

Open Settings › Apps › Installed apps, find Code Déjà Vu and select Uninstall. From the command line, run winget uninstall --id=jnchen.CodeDejavu -e.