Releases: Walvez/dsh-codex-sync
Releases · Walvez/dsh-codex-sync
Release list
v1.6.1 — Repair hint in sync settings & bilingual troubleshooting docs
Highlights
- Settings modal hint: a subtle bottom-left note in the Codex Sync settings modal now points users to
/repair-sessions --fixwhen imported chats fail with token-meter / replay errors (bilingual, styled with existing design tokens). - Docs: both READMEs gained a new Actions table row and a Troubleshooting section covering symptoms, root cause, and the one-command fix.
🇨🇳 中文说明 (Chinese Translation)
主要变化
- 设置面板提醒:Codex 同步设置弹窗左下角新增一条弱化的小提醒——导入的对话若出现 token meter / 重放类报错,可用
/repair-sessions --fix一键修复(双语文案,沿用现有设计令牌)。 - 文档:中英 README 均新增「操作」表格行与排障章节,覆盖症状、根因与一键修复命令。
v1.6.0 — Session log repair & replay-safe imports
Highlights
- Replay-safe imports: the converter now emits paired
step/start…step/endmarkers around every assistant message and tool event, so imported sessions no longer fail token-meter cold replay after a model switch (no matching step/start event). - New:
repair-sessions— scan the session store for replay damage (missing step pairing, stale chunk citations, seq gaps from rewritten-head + stale-cursor tails) and heal logs in place, validated by DSH's real token meter before any write. Available as CLI (dsh-codex-sync repair-sessions [--fix]) and slash command (/repair-sessions [--fix]). A.bakis kept next to every repaired log. - npm test now auto-locates the dsh checkout for
@deepseek-ai/*resolution (40 tests).
🇨🇳 中文说明 (Chinese Translation)
主要变化
- 导入即合规:转换器现在为每条 assistant 消息与工具事件补齐配对的
step/start…step/end标记,导入的会话在切换模型后不会再触发 token meter 冷重放报错(no matching step/start event)。 - 新功能:
repair-sessions—— 扫描会话存储中的三类重放损伤(缺 step 配对、失效的 chunk 引用、改写头+旧游标尾造成的 seq 缺口)并原地修复;写入前用 DSH 真实的 token meter 校验,每个修复过的日志旁保留.bak备份。CLI(dsh-codex-sync repair-sessions [--fix])与斜杠命令(/repair-sessions [--fix])均可使用。 - npm test 现在自动探测 dsh 安装目录以解析
@deepseek-ai/*(共 40 个测试)。
v1.5.7 — Granular Skill & MCP Controls, Dedicated Manager Subpages & Visual Polish
✨ What's New in v1.5.7
This release delivers comprehensive visual refinement and granular per-item synchronization controls for Codex skills and MCP servers, alongside a unified subpage navigation architecture.
🎛️ 1. Granular Skill & MCP Mirror Management
- Per-Item Toggles: Individually enable or disable sync for specific skills or MCP servers within dedicated manager panels.
- Batch Controls: Quick All on and All off batch actions.
- Default Sync Policy: Configure whether newly discovered skills or MCP servers sync automatically by default.
- Live Reload & Persistence: MCP servers mount and unmount on the fly without restarting DSH; preferences persist permanently in
~/.dsh/codex-sync.json. - System Guardrails: Critical infrastructure items such as
dsh-pluginsare permanently locked (🔒 System Denied) to prevent recursive bridging.
📂 2. Dedicated Manager Subpages & Unified Navigation
- Consistent Card Grid: The main settings dialog adopts a uniform 3-row card grid (Import / Export, Skill Manager / MCP Manager, Mirror Status / Refresh).
- Manager Subpages: Clicking Skill Manager or MCP Manager opens a dedicated second-level panel equipped with search filtering and location banners.
- Live Status Indicators: Real-time status indicators in the MCP list (🟢 Mounted / 🔴 Failed / ⚪ User-Disabled / 🔒 System Denied).
↗️ 3. Native Config & Directory Openers
- Convenient
↗quick-open buttons across feature switches and manager headers. - Intelligently invokes system-native applications (such as VS Code or text editors) for
AGENTS.md/config.toml, and opens Finder for~/.codex/skills/.
🎨 4. macOS / Raycast Grade Visual Polish
- Strict Vertical Alignment: Feature switches feature left-aligned labels with info tooltips and right-aligned action buttons and toggles.
- Distinctive Iconography: Dedicated icons for skills (✨ Sparkles) and MCPs (🗄️ Server Rack) with 26px rounded icon badges.
- Adaptive Typography & Animations: Expanded 580px dialog width with pop-in transitions, perfectly styled for both dark and light DSH themes.
🤖 5. Slash Commands Suite
Manage synchronization directly via natural slash commands:
/codex-skills # List all skills with their sync states
/codex-skill <name|all> on|off
/codex-mcps # List all mirrored MCP servers with status
/codex-mcp <name|all> on|off
/codex-setting mcpSyncDefault off # Disable default sync for new MCP servers🐛 6. Bug Fixes
- Fixed an issue where resuming imported chats failed due to missing
agentPresetmetadata triggering duplicate default preset mounts. - Fixed an MCP status glitch where re-synchronization left server states stuck in
mounting. - Resolved Node ESM dynamic-import negative caching issues on peer client loading.
🇨🇳 中文说明 (Chinese Translation)
本次版本带来了全新的交互与视觉升级,支持对 Codex 技能和 MCP 镜像进行 按项目逐项开关管理,并重构了整体 UI 架构:
- 细粒度逐项管理:在二级管理面板中自由开启或关闭单个 Skill / MCP Server,支持全选/全不选及新项目默认同步策略,状态即时热生效并持久化。
- 二级管理页面:主面板采用统一卡片布局,点进「技能管理」或「MCP 管理」专属子页面,内嵌搜索框与状态指示灯(🟢 已挂载 / 🔴 失败 / ⚪ 已关闭 / 🔒 强制排除)。
- 配置目录快速打开 (↗):智能调起系统默认应用打开
AGENTS.md/config.toml,或在 Finder 中打开~/.codex/skills/目录。 - macOS / Raycast 级精致视觉美化:严格对称对齐、专属图标、580px 自适应宽幅与平滑动效,完美适配暗色与亮色主题。
- Slash 命令支持:支持
/codex-skills、/codex-skill、/codex-mcps、/codex-mcp等指令查询与控制。
v1.3.6 — Fix Duplicate Default Preset Mounting on Resume of Imported Chats
🐛 Bug Fixes in v1.3.6
- Session Resume & Model Switch Compatibility: Fixed an issue where imported Codex conversations lacked the
agentPresetheader field, causing DSH onresumeto automatically attach the default agent preset (opencodex). This led to duplicate registration of core tools (such astool-cordis) and threwduplicate actionruntime errors. - Automatically stamps
agentPreseton imported chat headers so that resuming and switching models operates seamlessly without errors.
🇨🇳 中文说明 (Chinese Translation)
- 会话恢复模型兼容修复:修复从 Codex 导入的会话在 DSH 中 resume 恢复时,因会话 header 缺少
agentPreset字段而触发 DSH 自动补挂默认 preset(导致tool-cordis等工具重复注册抛出duplicate action异常)的问题。 - 自动对新导入的会话打上
agentPreset标识,保证会话恢复、模型切换流畅无报错。
dsh-codex-sync v1.3.5
Highlights
- Uses the official
shell.overlayplacement, eliminating sidebar footer conflicts. - Expanded mode preserves the native search, filter, and add actions.
- In collapsed mode, the Codex button sits below search, matches the Maid gold/native style, and fades in at its final rail position without sliding.
- All 30 tests pass.
v1.3.1 — 2-Way Sync Bridge Tagline & Manifest Alignment
Align project description and market taglines with full 2-way sync bridge capabilities:
- ZH: OpenAI Codex 与 DSH 终极双向同步桥:项目对话双向互导续聊,Skills 实时挂载、MCP 自动双向镜像。
- EN: The ultimate 2-way bridge between OpenAI Codex and DSH: bidirectional chat sync, live Skills mount & auto MCP mirroring.
v1.3.0 — 2-Way Project Chat Sync, Live Skills Mount & Native UI
⚡ dsh-codex-sync v1.3.0
The ultimate continuous bridge between OpenAI Codex and DeepSeek Harness (DSH).
✨ What's New in v1.3.0 / 核心更新
- 💬 Two-Way Project Chat Portability (Codex ⇄ DSH):
- Import from Codex: Browse conversations grouped by workspace, preserve reasoning traces & tool calls, attach to matching workspaces, and incrementally re-import continued chats.
- Export to Codex: Export DSH continuations and native sessions back into Codex as new, safe rollouts (
history_mode: legacy), automatically matching known Codex workspaces and preventing orphan threads. - Sub-Agent Folding: Sub-agent threads are hidden by default and nest under parent threads when shown; export independently without polluting parent sessions.
- ⚡ Live Skills Mount:
- Direct first-class registration of
~/.codex/skills/*/SKILL.mdinto DSH's native catalog with instant zero-restart reloads.
- Direct first-class registration of
- 🔌 Automatic Bidirectional MCP Mirroring:
- Live file-watch mirroring of
[mcp_servers.*]from~/.codex/config.tomlinto DSH. - Reverse bridge (
npx dsh-codex-sync codex-install) empowers Codex agents to search, inspect, and install DSH plugins.
- Live file-watch mirroring of
- 🎨 Native Modern UI:
- Centered backdrop-blurred Sync Settings Modal with action cards, live iOS-style switches, and language switcher.
- Sidebar workspace trigger button matching native DSH geometry.
- Pure CSS transitions with zero hover state artifacts and no horizontal overflow.
📦 Installation / 安装
In DSH:
dsh plugin --profile web add dsh-codex-sync@1.3.0In Codex (Reverse MCP Bridge):
npx dsh-codex-sync codex-install
dsh-codex-sync doctor🖼️ Screenshots
- Native Settings Modal:
docs/sync-settings-modal.png - Sidebar Quick Entry:
docs/sidebar-entry.png - Import Picker:
docs/import-picker.png - Export Picker:
docs/export-picker.png
v0.9.5 — UI & Repository Polish
🎨 UI Enhancements
- Crisp Vector Checkboxes: Replaced unicode glyphs with custom SVG check and indeterminate marks.
- Tree Icons & Badges: Added folder icons (open/closed), chat bubble icons, and project count chips.
- Polished Search: Integrated magnifying glass icon and clear button (
×). - Glassmorphic Dialog: Added
backdrop-filter: blur(8px), 14px border radius, and deep shadow. - Refined Status Tags: High-contrast emerald pill for
updatedand subtle muted badge forimported.
📄 Documentation
- Side-by-side screenshot showcase cards in both English and Chinese READMEs.
v0.9.4 — Re-import continued chats
- Import picker screenshot in the README
- Codex threads that continued after import show updated and can be imported again (append-only)
v0.9.3 — Import picker
Composer Import now opens a picker:
- Group by Codex project, collapsed by default
- Sub-agent chats nest under the parent thread
- Search project/title; hide sub-agents (on by default)
- Already-imported rows are grey-checked
- After import, optionally reload the page to see new chats (no dsh restart)