dsh-chatgpt-to-memory
Manifest validTurns your official ChatGPT data export into durable memory candidates for DeepSeek Harness: scans the export, dedupes against previous imports, writes a distillation dataset. Pairs with dsh-long-term
dsh-chatgpt-to-memory
把 ChatGPT 官方导出蒸馏成记忆候选的 DeepSeek Harness 插件:扫描导出包 → 按历史去重 → 产出待蒸馏数据集与审计报告 → 候选交给
dsh-long-term-memory落库。导出/下载脚本目前在配套工作区(已跑通),M2 迁入本插件。本插件不写记忆文件;写入记忆的唯一通道是
dsh-long-term-memory的memory_import_candidates。
状态:M1 开发中(扫描/去重/数据集/配置已可用;导出下载部分仍是工作区脚本,M2 迁入)。
快速上手
# 1) 安装(M1 阶段先用本地目录)
dsh plugin --profile desktop add link:D:/dsh-plugins/dsh-chatgpt-to-memory
# 2) 重启 DSH 后,在会话里:
# import_status 看导出目录/配置/上次扫描
# import_configure 读写蒸馏取向配置
# import_scan 扫描最新导出,统计新增会话并产出数据集
功能
| 工具 | 作用 |
|---|---|
import_status | 只读:导出根目录、最新导出包、候选文件、上次扫描报告、配置 |
import_configure | get / set 蒸馏取向(profile/distill-config.json,写前备份) |
import_scan | 核心:扫描最新导出 → 按会话 id + 消息文本去重 → 统计新增 → 写数据集与报告 |
import_preview | 同 scan,但面向"看质量/数量",并在结果里给出蒸馏要求 |
import_run | M1 占位:完整链路(导出→下载→重新认证)待 M2 迁入 |
数据集落点:<cwd>/profile/import-runs/<时间戳>/dataset.json + report.json。
口径与安全设计
- 只读用户自己的数据:导出目录(默认
D:\ChatGPT-Backups)与工作区profile/。 - 不写记忆文件:候选由 agent 蒸馏后写到
profile/inbox/candidates-*.json,由dsh-long-term-memory消费。 - 不联网(M1):本插件自身不发网络请求;M2 的网络只发生在用户自己的 Chrome profile 里,代理跟随用户环境。
- 不执行命令(M1):不 spawn 子进程。
- 去重三层(本插件做前两层):会话级(conversation id)→ 消息级(文本归一化精确匹配)→ 事实级(消费端再做)。
- 蒸馏硬规则:只把
role=user当事实来源;禁止职业推断;禁止从问句反推持有;AI 回复仅作上下文。
安装
- 图形界面(桌面端推荐):设置 → 插件市场 → 自定义安装 → 填
github:wojiao42/dsh-chatgpt-to-memory - 命令行:
dsh plugin --profile web add github:wojiao42/dsh-chatgpt-to-memory - 本地源码开发:
dsh plugin --profile desktop add link:D:/dsh-plugins/dsh-chatgpt-to-memory
自测
node --check index.js
node smoke.mjs
兼容
- DSH
0.2.2-rc.1验证中。 - 依赖宿主提供
@deepseek-ai/dsh-tools;M2 接入浏览器时再加playwright-core(可选安装)。
已知边界
- M1 不含导出触发/下载/邮件轮询:这部分仍在
D:\deepseek workspace\automation\chatgpt-export(已实测跑通)。 - 旧会话里的"新增消息"本阶段整段跳过(保守策略),后续按需要放开。
- 附件(
.dat)不解析。
版本
- v0.1.0(2026-11-11):M1 骨架 ——
import_status/import_configure/import_scan/import_preview;扫描+两层去重+数据集+报告;import_run占位。
收录状态
待发布后提交 awesome-dsh-plugin / dsh-plugin.org。
许可
MIT
Comments
Loading…
Similar plugins
by Amengclass
A persistent, model-editable memory/notes store for DeepSeek Harness. Adds memory_set / memory_get / memory_delete / memory_search tools backed by the built-in storage domain (ctx.storageDomain) so facts survive across sessions.
★ 0
MIT
JavaScript
Aug 14, 2026
dsh plugin --profile web add dsh-memoryby haitang1
Codex-like persistent memory for DeepSeek Harness: auto-injected memory summary, raw memory tools, and per-session rollout summaries distilled into a bounded global memory file.
★ 3
MIT
JavaScript
Nov 12, 2026
dsh plugin --profile web add @dsh-external/dsh-memoryby iv3rins
Project-level knowledge and development-state memory for DeepSeek Harness: Markdown docs as source of truth, a state system (task/progress/git/handoff) that survives restarts, compaction, and branch s
★ 0
MIT
JavaScript
Nov 7, 2026
dsh plugin --profile web add @dsh-external/dsh-project-memoryby tianhao8687
Evidence-first long-term project memory for DeepSeek Harness (DSH), powered by MemoryOS.
★ 0
MIT
JavaScript
Aug 17, 2026
dsh plugin --profile web add dsh-memoryosby AllenWES365
Project-isolated long-term memory for DeepSeek Harness: each project keeps its own bank, and one aggregate view sees them all.
★ 0
MIT
JavaScript
Sep 27, 2026
dsh plugin --profile web add dsh-local-memoryby AtinyFurina
Memory triage for DeepSeek Harness: at the end of each turn it decides which entries to keep and which to archive, routes project-specific ones into a project bucket while global ones stay in the main
★ 0
↓ 117/wk
GPL-3.0
JavaScript
Aug 28, 2026
dsh plugin --profile web add dsh-memory-triage