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

banso-dsh-prompt

v0.1.1

Published

Banso research instructions and per-turn reference time

Readme

Banso 提示词插件

banso-dsh-prompt 为默认 DSH agent loop 提供研究规则和本轮参考时间。由 banso-dsh bundle 加载,依赖 systemPrompt、agents 服务。

  • banso:research section:三段研究策略,分别说明如何研究、如何判断证据与结束、如何回答。涵盖时间范围、覆盖度、来源冲突、引用和输出格式;工具操作协议由 资料插件 负责。
  • banso:reference-time context:本轮开始处理输入时的 UTC 时间。需要 includeRuntimeContext: true;Banso bundle 已开启。

配置

可在 profile patch 中完整替换研究规则;未设置 researchPrompt 时使用内置提示词。文本按字面使用,不展开 {{变量}}。显式空字符串会移除本插件的研究规则,但不影响参考时间、身份描述和其他插件的提示词。

- id: banso-prompt
  config:
    researchPrompt: |-
      Your custom research instructions...

这是运行环境级配置,不是 SDK 每题参数。修改后重启运行环境。身份描述仍通过 system-prompt 的 personaPrefix 配置。

每个 agent 的新 turn 首次领取输入时记录服务器时间。后续工具调用、step、重试和并入本轮的补充输入保持该时间;下一 turn 重新取时间。没有 agent 或尚未领取输入时不输出时间。

参考时间表示“现在”,不是检索范围。历史日期或指定时间范围直接写在用户消息中,不需要额外 SDK 参数。时间使用 UTC;需要其他时区口径时在问题中明确说明。

不新增 session 持久化格式。恢复会话后的下一轮会重新取时间;不保证研究过程中热重载插件能恢复旧参考时间,修改插件后应重启运行环境。旧 context 快照可能仍在历史中,框架会将新快照标为取代之前的 runtime context。

本包通过提示词引导研究,不负责材料存储、证据提取、业务预算或引用语义校验;材料和证据行为由资料插件提供。

源码实现和测试见 开发文档。