Skip to content
dsh.fish
Bundle

@deepseek-ai/dsh-codex-importer

从本地 Codex (~/.codex) 导入会话,生成带完整历史的新 DSH 会话

Source
life1996cou
stars
2 stars
License
MIT
Updated
Updated 12 days ago

Readme


从本地 [Codex](https://github.com/openai/codex)(`~/.codex/`)导入会话,生成一个**带完整对话历史**的新 DeepSeek Harness 会话。

## 安装

```sh
dsh plugin --profile web add github:life1996cou/dsh-codex

# 本地目录安装用 file:(复制安装),不要用裸路径(那会软链导致依赖解析失败):
# dsh plugin --profile web add file:.

dsh web
```

## 使用

1. 打开 **设置** → 左侧点「**Codex**」。
2. 点「**使用默认 ~/.codex/sessions**」或「**选择目录…**」定位 Codex 会话目录。
3. 列表里点某会话的「**导入到新会话**」——会自动生成一个含完整 Codex 对话历史的新会话并切过去。
<img width="1602" height="1346" alt="b7999675-6793-49d1-bcfe-db968bbb8a0e" src="https://github.com/user-attachments/assets/40544452-22ae-4b35-8c94-fb333f8cf31b" />

## 卸载

```sh
dsh plugin --profile web remove @deepseek-ai/dsh-codex-importer
```

Install

dsh plugin --profile web add github:life1996cou/dsh-codex

Profile: web

  • This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.
Source