Skip to content
dsh.fish
Bundle

dsh-jianguo-webdav

WebDAV sync for DeepSeek Harness - sync settings, sessions, profiles, presets to JiaGuoYun (坚果云).

License
MIT
Updated
Updated 4 days ago

Readme

# dsh-jianguo-webdav

通过 WebDAV 协议将 DeepSeek Harness (DSH) 的配置和会话历史同步到坚果云等云存储。

## 同步内容

| 内容 | 本地路径 | 云端路径 |
|------|---------|---------|
| 会话历史 | `~/.dsh/sessions/<project>/<id>/` | `/sessions/<project>/<id>/` |
| 设置 | `~/.dsh/settings.yaml` | `/config/settings.yaml` |
| 附件 | `~/.dsh/attachments/v1/objects/` | `/attachments/v1/objects/` |
| Profile 配置 | `~/.dsh/profiles/web/` | `/profiles/web/` |
| Agent Presets | `~/.dsh/.agent-presets/` | `/presets/` |
| Pet | `~/.dsh/pet.json` | `/config/pet.json` |

**不同步:** `.credentials.yaml`、`node_modules/`、临时文件、本地缓存。

## 配置

创建 `~/.dsh/jianguo-webdav.yaml`:

```yaml
remoteUrl: "https://dav.jianguoyun.com/dav/"
username: "your@email.com"
password: "your-password"

syncSessions: true
syncSettings: true
syncAttachments: true
syncProfiles: true
syncPresets: true
syncPet: true

autoSync: false
syncIntervalMin: 5
```

## 使用

在 DSH 会话中使用:

```
/sync-webdav push      # 推送同步
/sync-webdav status    # 查看状态
/sync-webdav test      # 测试连接
```

## 安装

```sh
dsh plugin --profile web add dsh-jianguo-webdav
```

Install

dsh plugin --profile web add dsh-jianguo-webdav@0.2.4

Profile: web

Source