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

@zwiq/zwicode

v1.3.3

Published

ZwiCode — a Hermes-style Castle CLI game development agent (Qwen 3.8 2.4T via Zwiq Portal, Anthropic, NVIDIA)

Readme

ZwiCode

A Hermes-style Castle CLI game development agent. One setup script installs a Python agent at ~/.zwicode/ that talks to LLM providers and drives castle-cli to build, serve, and iterate on Castle deck games.

Quick start

Works on Linux, macOS, and Android (Termux). Requires Node 18+ and bash (on Termux: pkg install nodejs first).

npx @zwiq/zwicode

First run executes the setup script (installs deps, writes the agent, bundles Castle reference docs + design guides, creates the zwicode launcher), then drops you into the agent.

Or install globally:

npm install -g @zwiq/zwicode
zwicode

zwicode-setup re-runs just the setup/upgrade step.

What's new in 1.3

  • Design guides — six bundled design docs (design/2d-games, design/3d-games, design/ui, design/game-ui-ux, design/character-design, design/animation-design) that the agent is instructed to read before writing game/UI/character/animation code, with pre-build checklists. Output quality jumps from "placeholder" to designed.
  • Multi-blueprint freedom — the system prompt no longer pushes a single actor/blueprint first pass; the agent creates as many blueprints (player, enemies, projectiles, HUD, controller...) as the design needs from the start.
  • Per-model temperature — vendor-recommended sampling per model (e.g. GLM 5.2 → 1.0, Kimi K2.6 → 0.6, Qwen 3.8 2.4T → 0.7) instead of one global value, fixing temperature-induced loops and hard failures.
  • Anti-loop chunked writeswrite_file_chunk echoes back the last lines written so the model always has ground truth.
  • No silent doc truncation — docs are served up to 24 KB with an explicit truncation notice instead of being silently cut at 8 KB.
  • DeepSeek provider removed.

Providers

| Provider | Models | |--------------|-------------------------------------------------------| | Zwiq Portal | qwen-3.8-2.4t-a95b (default), qwen-3.8-27b, minimax-m3, glm-5.2 | | Anthropic | claude-sonnet-5, claude-opus-4-8, claude-haiku-4-5 | | NVIDIA | nemotron-3-ultra-550b, kimi-k2.6, glm-5.2 |

Set keys via environment variables or ~/.zwicode/.env (ZWIQ_PORTAL_API_KEY, ANTHROPIC_API_KEY, NVIDIA_API_KEY). You can also export ZWIQ_PORTAL_API_KEY before running setup to have it written for you.

The flagship qwen-3.8-2.4t-a95b runs with 131,000 max output tokens and a 262,000-token extended-thinking budget.

Features

  • Hermes-style terminal UI: gradient wordmark, live status bar with real context/output/thinking token counts, bordered tool-result panels, prompt
  • Castle reference docs and design guides bundled and served to the model on demand
  • Tools: run_bash (with approval), read_file, chunked write_file_chunk, delete_file, plus user-defined custom tools and skills
  • Streaming, session history, auto-approve toggles, custom OpenAI-compatible providers via /provider
  • Slash commands: /clear /model /provider /settings /history /tools /skills /docs /help /quit

Requirements

  • Linux or macOS (Termux on Android also works)
  • python3, nodejs (for castle-cli), jq, curl

License

MIT