npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dsh-writing-remote

v0.6.2

Published

Host-side Typert remote exposing the writing engine's read/search data to the client panel.

Downloads

1,195

Readme

dsh-writing-remote

npm version license

DeepSeek Harness(DSH)写作三件套的 host 侧数据通道:把 dsh-tool-writing 引擎的项目/书库/检索数据,以 Typert remote 的形式暴露给客户端 dsh-client-ui-writing 面板。

为什么单独一个包

引擎跑在 host(Node),面板跑在浏览器,两者之间隔着 Typert 协议。remote 就是那层适配:面板要什么,remote 就提供什么——只读数据 + 编排触发,所有写操作仍在 host 侧引擎里完成,不把生成能力暴露给客户端。

Remote 方法

| 方法 | 返回 | 面板用途 | |---|---|---| | workspaceIndex | 分卷目录(字数/状态/摘要)+ 全书统计 + 情节日志尾部 | 索引视图、项目 tab | | projectStatus | manifest、分卷分组、总字数、章数 | 项目概览 | | chaptersList / chapterText | 章节列表 / 单章正文(截断预览) | 目录与预览 | | loreList | 设定文件按分类(characters/world/timeline/foreshadowing/other) | 设定浏览 | | projectSearch | 项目全文检索(SQLite FTS5) | 搜索 tab | | libraryList / librarySearch | 书库列表 / 书库检索 | 书库 tab | | evolutionList | 演化条目(可按主体过滤) | 演化版本链 | | threadGraph | 多线叙事线索图谱数据 | SVG 线程图 | | syncNow | 章末自动编排(摘要+抽取+演化+伏笔提醒) | 「章末编排」按钮 | | scaffoldNow | 非破坏式铺骨架(幂等,空目录一键初始化) | 「一键初始化」按钮 |

所有方法都以 projectRoot 为第一参数定位小说工程,面板传当前工作区,host 侧实例化对应引擎。

安装与配置

dsh plugin --profile web add dsh-writing-remote
# 或
npm install dsh-writing-remote

依赖:[email protected](引擎本体)与 @deepseek-ai/dsh-typert-protocol(peer)。

配置项只有 libraryRoot(默认 $DSH_HOME/writing-library),与引擎共享书库根。

许可证

MIT。