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

@morlay/dsh-context-assembler

v0.0.6

Published

Prompt channel for dsh: assembly-result text conversion (replace / suppress) plus per-step delivery of demoted sections. Workspace instructions and the skill catalog use the official rows (@deepseek-ai/dsh-agent-instructions / @deepseek-ai/dsh-tool-skill)

Readme

@morlay/dsh-context-assembler

提示词通道:装配结果上的文本转换(replace / suppress)与降级 section 的按步送达(本步没留在系统提示词 里的 section 改以 reminder 紧随用户消息送达,压缩后的重试再补投一次)。不给扩展点:没有注册面,也不接管任何 "面"——工作区指令与技能目录用官方行(@deepseek-ai/dsh-agent-instructions / @deepseek-ai/dsh-tool-skill)自己的 注入方式。按会话的工具收口与三个注入开关(instructions / 技能目录 / 动态快照)不在本包:收口的输入是模式定义、 唯一消费者也是模式,所以它住在 @morlay/dsh-session-mode。

用法

装配面只有一行:包根(@morlay/dsh-context-assembler)就是通道本体,config 是 keep / suppress / replace 的 缺省。行清单的真源是 src/rows.ts(contextChannel(),经 ./rows 出口供装配层引用),本部署把它 渲染进 @morlay/session-mode-profile 的 patch:

- insert:
    - id: context-assembler
      name: "@morlay/dsh-context-assembler"

| 出口 | 行 id / 插件 name | 做什么 | | -------- | ------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | | . | context-assembler | 通道本体:装配结果上的文本转换 + 降级 section 的按步送达,发布 ctx.contextAssembler;config 是 keep / suppress / replace | | ./rows | —(不是插件,只出那一行) | contextChannel(),装配层据此渲染 patch |

通道全局一份、不隔离:消费者(@morlay/dsh-tool-guidance 的包根, 以及把 instructions 开关拨过来的 dsh-session-mode 收口)住在别的包里,隔离会让它们解析不到服务(行停在 waiting, 不报错)。模式差异不在通道上表达:通道只认按 agent 推来的那一个开关(setInstructions),收口与模式定义都在 @morlay/dsh-session-mode 里。

工具说明(汉化精简 + 用法分组)不在这个包里:它归 @morlay/dsh-tool-guidance (包根即运行时),对通道的依赖只剩 suppressSection 一处;引用展开也是独立包 @morlay/dsh-reference(它不依赖通道服务)。

规则与 id 见设计 上下文注入规则;本包留什么、三份默认清单的归属见 设计 通道只做转换。