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

@stackstackstack/dsh-session-title-all-prompts-llm

v0.1.7

Published

All-user-messages LLM provider plugin for DeepSeek Harness session titles

Downloads

345

Readme

@stackstackstack/dsh-session-title-all-prompts-llm

English | 中文

可选的 ctx.sessionTitle 提供方,通过 ctx.llm 总结所有符合条件的用户消息。它注册 all-prompts 节奏,并在每条新用户提示词后启动新 revision,同时使用预置历史与子会话提示词。较新的 revision 会中止并取代旧工作;即使提供方忽略取消,也无法提交陈旧输出。

该插件使用完整且必填的共享 LLM(大语言模型)配置。同时省略 provider 与 model 时,会继承每个当前已记录主请求的确切路由;也可以同时设置二者,使标题生成使用独立路由。如果最终封装的聚合提示词超过 maxInputBytes,请求会失败而不是截断历史;自动使用时会发出警告并保留先前标题。

模型体验

全消息标题请求

模型看到的内容

标题模型会收到共享标题指令,以及一个 JSON 数组,其中按日志顺序包含截至当前 revision 的所有符合条件用户消息和确切 seq。预置历史也包含在内。

Token 影响

每条符合条件的新提示词之后都可能发送一次辅助请求,每次请求受 maxInputBytes 和 maxOutputTokens 约束;显式刷新可能增加调用。主 agent(智能体)请求不会增加 token。

KV Cache 影响

不会使主请求的 KV Cache 失效。每条提示词后,辅助输入都会增长或变化,因此提供方专用缓存复用会在第一个变化的 JSON token 处结束。

已知限制与暂缓事项

  • 输入溢出时保留先前标题;对于很长的会话,此提供方没有基于摘要继续生成摘要的机制或保留策略。
  • 它平等对待所有符合条件的用户消息,不提供权重、过滤或手动标题优先级。