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

@d3ara1n/pi-provider-sensenova

v1.3.0

Published

SenseNova (商汤日日新) provider for pi — registers Token Plan chat models via OpenAI-compatible API

Readme

@d3ara1n/pi-provider-sensenova

SenseNova (商汤日日新) provider for Pi Coding Agent — registers the SenseNova Token Plan models via OpenAI-compatible API.

Provider

| Provider ID | Name | API Key Env | |---|---|---| | sensenova-plan | SenseNova (Token Plan) | $SENSENOVA_API_KEY |

Models

| Model | Reasoning | Input | Context | Max Output | |---|---|---|---|---| | sensenova-6.7-flash-lite | Yes | text, image | 256K | 64K | | sensenova-6.8-flash-lite | Yes | text, image | 256K | 64K | | deepseek-v4-flash | Yes | text | 1M | 64K | | deepseek-v4-pro | Yes | text | 1M | 384K | | glm-5.2 | Yes | text | 1M | 128K | | kimi-k3 | Yes | text, image | 1M | 1M |

Image-generation models (sensenova-u1-fast, sensenova-u1.5-lite) are intentionally not registered — their output modality is image, not chat.

This provider registers the chat models with:

  • OpenAI-compatible chat/completions transport via pi's built-in provider layer
  • system role compatibility (supportsDeveloperRole: false)
  • Reasoning controls via reasoning_effort; pi's minimal thinking level is omitted because SenseNova chat models only accept low / medium / high / none (kimi-k3 and deepseek-v4-pro validate more loosely but accept the same set)
  • Tool calling and streaming usage verified against the live API

Other compatibility details such as overflow error text should be re-verified against the live API before changing compat flags; see PROVIDER.md.

Installation

pi install npm:@d3ara1n/pi-provider-sensenova

Or add to ~/.pi/agent/settings.json:

{
  "extensions": [
    "/absolute/path/to/pi-extensions/packages/pi-provider-sensenova"
  ]
}

Set your API key:

export SENSENOVA_API_KEY="sk-..."

Or use /login in pi to store it in ~/.pi/agent/auth.json:

{ "sensenova-plan": { "apiKey": "sk-..." } }

Getting an API Key

  1. Visit SenseNova Platform
  2. Go to 管理中心 → API-Key 管理 → 创建 API-Key
  3. Copy the key immediately (it's shown only once)

The Token Plan is currently in free public beta — no credit card required, up to 1,500 calls per model every 5 hours, with up to 20 API keys.

Dependencies

None — this is a standalone provider with no pi-extension dependencies. It uses pi's built-in openai-completions streaming.

Usage Quota Reporting

Not yet implemented. SenseNova does not currently expose a public quota or balance API. When one becomes available, quota reporting will be added via @d3ara1n/pi-usage-block-core.