@catyugu/dsh-web-pack

中文文档
0.3.5发布于 2026/11/01MITES Module

A pack of switchable DSH Web plugins: session management and session cleanup.

原始使用文档
文档目录3 节
  1. Requirements
  2. Install
  3. Update

dsh-web-pack

A pack of switchable DeepSeek Harness Web plugins. 设置 → 插件 shows one switchable row per plugin, each with its own icon and its own browser half.

RowWhat it does
dsh-better-sessionRegenerate or edit any question; set the compaction settings of one session or of the whole install.
dsh-session-cleanupDelete sessions, clear archived ones, reclaim attachment bytes.

Requirements

DeepSeek Harness 0.2.1-rc.4 or newer within the 0.2 line. The package declares that range as engines.dsh, so the plugin manager refuses an incompatible Harness instead of mounting a row against APIs it does not have.

Install

dsh plugin add @catyugu/dsh-web-pack --profile web

That command is the whole install. The bundle carries the patch that creates the two rows and ships both row packages inside its own tarball as file: dependencies, so pnpm links them into the installed bundle's node_modules and both rows start as soon as the bundle is enabled. No row package is published.

Update

dsh plugin add @catyugu/dsh-web-pack --profile web

Only @catyugu/dsh-web-pack exists on npm; the rows version with it.

版本与发布记录

@catyugu/dsh-web-pack 共发布 7 个版本,首次发布于 2026/10/31;过去 12 个月发布了 7 个版本。

版本发布日期距今
0.3.5latest2026/11/012 天前
0.3.42026/10/313 天前
0.3.32026/10/313 天前
0.3.12026/10/313 天前
0.0.0-stage2026/10/313 天前
0.4.02026/10/313 天前

关于 @catyugu/dsh-web-pack 的常见问题

@catyugu/dsh-web-pack 是什么?

一组可切换的DSH Web插件:会话管理和会话清理。

如何安装 @catyugu/dsh-web-pack?

在项目目录运行 npm install @catyugu/dsh-web-pack,或使用 pnpm add / yarn add / bun add。

@catyugu/dsh-web-pack 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/catyugu__dsh-web-pack 是否存在。

@catyugu/dsh-web-pack 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@catyugu/dsh-web-pack 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=22.15.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@catyugu/dsh-web-pack 可以商用吗?

@catyugu/dsh-web-pack 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@catyugu/dsh-web-pack 还在维护吗?

最新版本 0.3.5 发布于 2026/11/01(2 天前);至今共发布 7 个版本,其中过去 12 个月发布了 7 个;首次发布于 2026/10/31。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。