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

@awiki/dsh-model-proxy

v0.1.4

Published

AWiki-authenticated model proxy and Quick Recharge UI for DeepSeek Harness

Readme

@awiki/dsh-model-proxy

Optional AWiki-authenticated model provider and Quick Recharge UI for DeepSeek Harness.

Install @awiki/dsh-plugin first, then add this package to the same DSH profile:

dsh plugin --profile web add @awiki/dsh-plugin@latest
dsh plugin --profile web add @awiki/dsh-model-proxy@latest

The package contributes the awiki-model-proxy Host runtime and the Browser surfaces that belong to it: model onboarding plus Settings → Quick Recharge, whose Account & Recharge and Usage tabs own model opt-in, recharge, and usage. It uses the public @awiki/dsh-plugin/model-proxy-contract and the shared AWiki Browser identity bridge; it does not copy the AWiki service, RPC contract, or session model. Its bundle patch explicitly injects the already loaded awiki service.

The provider is disabled until a local user explicitly enables it. Short-lived model tokens stay in the Host. The Browser receives only the public account, usage, and recharge projections defined by the main AWiki package. The UI also states that hosted models come from the official DeepSeek API and follow DeepSeek's official pricing.

When the main package finishes Recovery V4, this package registers its exact Model Proxy base URL as a Host-only reconciliation target. The main Host sends one current-DID-authenticated, short-lived recovery attestation to restore the original canonical billing account. The package never receives an attestation callback, and neither the attestation nor the canonical ledger identity crosses into Browser state. Empty current-DID shells are reconciled idempotently; non-empty conflicts remain a server-side manual-reconciliation case.

Migration from the former subpath

The Host runtime previously exported as @awiki/dsh-plugin/model-proxy is now this package's root export:

import * as modelProxy from '@awiki/dsh-model-proxy'

The browser-safe RPC contract remains available from @awiki/dsh-plugin/model-proxy-contract. Installing only @awiki/dsh-plugin no longer inserts or loads any model proxy Host or Browser surface. Existing model proxy configuration variables keep their names:

  • DSH_AWIKI_MODEL_PROXY_URL
  • DSH_AWIKI_MODEL_CONTEXT_WINDOW
  • DSH_AWIKI_MODEL_MAX_TOKENS
  • DSH_AWIKI_MODEL_TOKEN_REFRESH_SKEW_SECONDS

This package targets the DeepSeek Harness 0.1.1-rc.2 package family and requires @awiki/dsh-plugin@^0.3.2 as a peer dependency. That release adds the Host-only post-recovery mailbox and Model Proxy reconciliation contract while retaining the shared awikiClient Browser bridge and the independently loaded Model Proxy runtime.