DSH Plugins Marketplace

DSH Plugins

Plugins

/

Terminal & Clients

/

@crack/dsh-archive

@

@crack/dsh-archive

Manifest valid

Session archive plugin for DSH web GUI

UI (client)hasBundlePatch

dsh-archive

会话归档管理插件——面向 DeepSeek Harness Web GUI(dsh web)。

功能

归档会话管理

  • 侧边栏"添加工作区"按钮右侧新增归档入口按钮(28px 圆形,匹配原生 iconButton 风格)
  • 按钮 hover 显示气泡提示"归档会话" / "工作区会话"(500ms 延迟)
  • 点击切换归档视图,原位覆盖工作区列表区域,布局与原生会话树一致
  • 归档视图按工作区分组,分组可折叠,时间降序排列
  • 每行 hover 出现三点菜单:重命名 / 还原 / 删除
    • 重命名:原生弹窗——自动聚焦全选、中文输入法保护、Enter 确认、Escape/遮罩关闭、错误内联提示
    • 还原(unarchive):回到原工作区位置
    • 删除:原生确认弹窗(红色危险按钮 + 后果说明 + 进行中状态),移除日志文件,不可恢复
  • dsh 原生只有归档能力(archiveSession),本插件补齐了原生没有的 重命名 / 恢复 / 删除 操作

API

方法路径说明
GET/plugins/@crack/dsh-archive/api/archived获取归档会话列表(按工作区分组)
POST/plugins/@crack/dsh-archive/api/rename-session重命名会话
POST/plugins/@crack/dsh-archive/api/unarchive还原归档会话
POST/plugins/@crack/dsh-archive/api/delete-session删除归档会话

安装

# 1. 链接本地包到 dsh web profile(一次性)
dsh plugin --profile web add "link:E:\path\to\dsh-archive"

# 2. 在 profile patch 中注册插件
#    编辑 C:\Users\<you>\.dsh\profiles\web\cordis.patch.yml,追加:
#    - insert:
#        - id: archive
#          name: '@crack/dsh-archive'

# 3. 重启 dsh web

开发

需要 Node + pnpm;dsh runtime 与 devDependencies 需版本对齐。

pnpm install          # 安装构建链(typescript / tsdown)
pnpm run build        # 一次构建:tsc(host) + tsc(client) + tsdown
pnpm run typecheck    # 类型检查
  • 编辑 src/client/skin.css(归档视图样式)或 src/client/index.ts(浏览器端逻辑)
  • 编辑 src/index.ts(宿主端:API 路由)
  • 构建完成后浏览器自动热替换(client-hmr,无需刷新/重启)

卸载

# 1. 从 profile 中移除插件
dsh plugin --profile web remove @crack/dsh-archive

# 2. 删除 cordis.patch.yml 中的 archive 注册行

# 3. 重启 dsh web

项目结构

dsh-archive/
├── src/index.ts                    # host 面:注册 API 路由
├── src/client/index.ts             # 浏览器端逻辑(归档按钮注入 + 归档视图管理)
├── src/client/archive.tsx          # 归档视图 React 组件(原生 Modal/Button 复用)
├── src/client/skin.css             # CSS 样式(归档视图 + 按钮 + 菜单)
├── scripts/skin-inline-plugin.mjs  # tsdown 插件:内联 CSS
├── tsconfig.json / tsconfig.client.json  # host/client 双 program
├── tsdown.config.ts                # client bundle 协议构建
├── lib/client.js                   # 浏览器端 bundle
├── lib/index.js                    # 宿主端入口
├── cordis.patch.yml                # 插件自带注册 patch(参考)
└── package.json                    # dsh.client 声明

Comments

Loading…

From the same category

dsh-web

by zhu1090093659

DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop

Tools & CapabilitiesUI & ExperienceDevelopment & InfrastructureTerminal & ClientsModels & ProvidersManifest valid

★ 8.3k

↓ 172/wk

Apache-2.0

TypeScript

Oct 1, 2026

dsh plugin --profile web add dsh-web

by ccch1mneyyy

DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol

Terminal & ClientsManifest valid

★ 3.9k

↓ 13.6k/wk

MIT

TypeScript

Oct 1, 2026

dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tui

by YuJunZhiXue

DeepSeek Harness 破甲:让所有模型都能破甲,不同模型可换不同提示词;默认提示词面向国模「小码酱」。Jailbreak for every model — swap prompts per model. 求 Star 收藏 ⭐

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 2.9k

MIT

JavaScript

Oct 1, 2026

dsh plugin --profile web add dsh-purge

by bowenliang123

The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,

Tools & CapabilitiesUI & ExperienceTerminal & ClientsManifest valid

★ 1.8k

↓ 33.2k/wk

Apache-2.0

TypeScript

Sep 30, 2026

dsh plugin --profile web add dsh-context

by agentrq

AgentRQ: Human-in-loop realtime conversational task manager for AI Agents. Self-hosted! Control your own agents from wherever you want Mobile, Web, Desktop. Designed to work well with your own Claude

Workflow & AutomationUI & ExperienceTerminal & ClientsManifest valid

★ 1.1k

↓ 56/wk

Apache-2.0

JavaScript

Oct 1, 2026

dsh plugin --profile web add @agentrq/dsh-plugin-agentrq

by vshulcz

One memory shared by Claude Code, Codex, Cursor, Copilot CLI, OpenClaw and 20 more coding agents, built from the session history already on disk. A fix found in one agent comes back in any of them, in

Tools & CapabilitiesTerminal & ClientsMemory & ContextManifest valid

★ 1.1k

↓ 1.3k/wk

MIT

Go

Oct 1, 2026

dsh plugin --profile web add dsh-deja