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-llm-stepfun

v0.1.0

Published

StepFun (阶跃星辰) model access for DeepSeek Harness: registers the stepfun provider with the Step Plan model catalog (step-5-preview, step-3.7-flash, step-3.5-flash, stepaudio-2.5-chat), reasoning efforts, image input, tool calls, and prompt cache, with a lo

Readme

dsh-llm-stepfun

English | 中文

dsh-llm-stepfun 为 DeepSeek Harness 接入阶跃星辰(StepFun)模型。注册 stepfun provider 路由,基于 OpenAI 兼容的 Chat Completions 适配器,默认指向 Step Plan 端点,并附带登录小圆球与设置卡片。

功能

  • stepfun provider 路由 —— SSE 流式、工具调用、结构化推理块(reasoning_content)、经 DSH 附件服务的图片输入(base64 data URL)、提示缓存感知的 usage 映射、重试策略与流式空闲看门狗。
  • Step Plan 模型目录(可在设置中覆盖):
    • step-5-preview —— 旗舰基模,1M 上下文,图片+视频输入,档位 low/medium/high(默认 high)
    • step-3.7-flash —— 旗舰多模态推理,256K 上下文,图片+视频输入(默认 medium)
    • step-3.5-flash —— 旗舰语言推理,256K 上下文(默认 medium)
    • step-3.5-flash-2603 —— Agent 优化版,档位 low/high(默认 low)
    • stepaudio-2.5-chat —— 文本模态语音对话;插件自动固定 modalities: ["text"](档位 low/high)
  • Web 客户端 —— 输入框旁的登录小圆球 + 对话框(粘贴密钥、Plan/按量端点一键切换、退出登录),以及 Plugins 设置卡片,含调试日志开关(不开/摘要/完整)与一键打开日志文件夹。
  • 中英双语 UI,跟随 DSH Web 语言设置。
  • docs/model-features.zh.md —— 模型规格、定价,以及下游集成参考(含本插件未接入的 TTS/ASR/Realtime 模型,QQ 机器人类项目可直接参考)。

安装

dsh plugin --profile web add dsh-llm-stepfun

或从 tarball / GitHub Release 安装:

dsh plugin --profile web add ./dsh-llm-stepfun-<version>.tgz

安装后需重启 dsh web(插件在启动时组装)。

使用

  1. 点击输入框旁的小圆球(或打开 设置 → Plugins → StepFun),粘贴 Step API key 并登录。密钥仅写入本机凭据库,引用名 STEPFUN_API_KEY。
  2. 在模型选择器中选择 stepfun 模型。默认端点为 Step Plan 订阅路由 https://api.stepfun.com/step_plan/v1;若使用标准按量计费,在对话框/卡片中切换到 https://api.stepfun.com/v1。
  3. 推理强度可在模型选择器中按模型选择(档位见 docs/model-features.zh.md 的分模型表格)。

配置(settings.yaml)

llm-stepfun:
  baseURL: https://api.stepfun.com/step_plan/v1
  apiKeyEnv: STEPFUN_API_KEY
  maxTokens: 64000            # 未知模型的每请求输出上限兜底
  defaultContextWindow: 256000
  streamIdleTimeoutMs: 300000
  logLevel: off               # off | summary | full
  # models: [...]             # 可选:覆盖内置模型目录;字段说明见 docs/model-features.zh.md

开发

pnpm install
pnpm build     # tsc(host 半区)+ esbuild 转换(client bundle)
pnpm test      # 31 个单元测试,覆盖模型目录 / 请求序列化 / SSE 翻译
pnpm pack      # 产出可安装的 tarball

源码结构:src/catalog.ts(模型数据与默认值)、src/serialize.ts(线上请求)、src/translate.ts(SSE → 流事件)、src/index.ts(Host 适配器 + settings)、src/client.ts(Web bundle)、docs/(模型参考)。

发布与收录

许可证

MIT