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

@odradekk/vera-theme

v0.3.0

Published

Vera unified theme package: Obsidian-toned palette plus Kylin-inspired chrome (banner, status line, spinner, thinking cycle).

Readme

vera-theme

Purpose

Unified visual identity package for Vera. Combines the previous vera-ui session chrome (banner, status line, thinking shortcut) with Kylin-inspired design-language elements (braille spinner, vertical-bar separators in the status line, chevron label for collapsed thinking blocks). Pairs with the bundled vera theme JSON (Obsidian palette).

Non-goals

  • Replacing the editor component or the chat-message renderer (those are pinned by the Pi SDK; see project notes on TUI extensibility limits).
  • Web/search/data retrieval tools, compaction, prompt-rule assembly, or any non-presentation concerns.

Registered surface

Commands

  • /thinking — cycle thinking level, or set directly (e.g. /thinking high).
  • /statusline — toggle status line placement; or set directly (/statusline below, /statusline embed).

Shortcuts

  • Configurable thinking-cycle shortcut from vera-theme.json (default alt+t).
  • Configurable status-line toggle shortcut (default alt+s).

Hooks / UI integration

  • session_start — loads config; installs banner, status line, working spinner, hidden-thinking label.
  • turn_start / turn_end — refreshes status line and git snapshot.
  • model_select — syncs current model and refreshes status line.

Theme

  • agent/themes/vera.json — Obsidian-toned palette tuned for Vera. Set via settings.json ("theme": "vera") or the /theme picker.

Editor chrome

Rounded box around the input area (╭─╮│ │╰─╯).

Top edge — run-state indicator

Embedded on the right, animated with a braille spinner. States:

  • idle (no history yet) — nothing rendered
  • idle_done (after first turn) — ✓ done
  • streamingstreaming ⠋
  • thinkingthinking ⠋ (color follows thinkingHigh)
  • tool⚙ <toolName> ⠋

Driven by Pi events: turn_start, turn_end, tool_execution_start, tool_execution_end, and message_update.thinking_start/end.

Bottom edge

Two appearances, controlled by the status-line mode:

  • below (default) — plain closed border ╰─────╯. The full status line lives in the footer line below the editor.
  • embed — status line rendered into the bottom edge ╰─ project · model · thinking · gauge · tokens ───╯. The footer line is hidden.

Toggle with /statusline or alt+s. When the autocomplete suggestion list is open the chrome stays applied; the stock internal divider between input and suggestions is upgraded to ├─┤ so the box reads as a paneled view. Disable via editorChrome.enabled = false.

Status line fields (preserved from vera-ui, restyled)

  1. Project context (cwd basename + git branch + dirty markers)
  2. Model identity (current model name)
  3. Thinking level (color-coded by level)
  4. Context-window gauge (16-cell bar + percent)
  5. Token stats (input · output · cache · hit-rate)

Outer separators between sections use (Kylin-style); inner separators within a section use ·. Width-adaptive collapse is preserved: when the terminal is narrow, lower-priority sections drop in order tokens → gauge → identity-only.

Config

Looked up in this order (first hit wins):

  1. Project: .pi/config/vera-theme.json
  2. Agent: agent/config/vera-theme.json
  3. Built-in defaults

Schema

{
  "banner": { "enabled": true },
  "statusLine": { "enabled": true, "mode": "below", "shortcut": "alt+s" },
  "spinner": { "enabled": true },
  "editorChrome": { "enabled": true },
  "thinkingCycle": {
    "enabled": true,
    "shortcut": "alt+t",
    "default": ["low", "medium", "high", "xhigh"],
    "profiles": {
      "exampleProfile": {
        "match": ["*haiku*", "*flash*"],
        "levels": ["off", "minimal", "low"]
      }
    }
  }
}