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-session-tools

v0.2.1

Published

Session lifecycle tools for Vera agent (ask-user, todo, output-guard, compaction, prompt-rules, system-time, diagnostics)

Readme

vera-session-tools

Purpose

Provide session-scoped Vera behavior that is neither UI-specific nor network-tool-specific: user prompts, session todos, top-level Vera diagnostics, output guarding, prompt assembly, compaction, and system-time prompt augmentation.

Non-goals

  • web search, docs lookup, academic search, or PDF parsing
  • local workspace search binaries
  • banner/status-line/thinking shortcut UI
  • provider compatibility shims such as proxy-compat or rtk-rewrite

Registered surface

Tools

  • ask_user
  • todo
  • check_vera

Commands

  • /vera_status — user-facing top-level Vera runtime status, including compaction routing, subagent/Chimera runtime state, and CCC readiness

Hooks

  • tool_result — output truncation via output-guard
  • before_agent_start — prompt-rules layering + system time injection
  • session_before_compact — custom compaction pipeline
  • session_start / session_switch — config and session override hydration

Included extensions

  • ask-user
  • todo
  • check-vera
  • output-guard
  • compaction
  • prompt-rules
  • system-time

Config

  • agent/config/output-guard.json
  • agent/config/compaction.json
  • project .pi/config/output-guard.json
  • project .pi/config/compaction.json
  • agent/rules/SOUL.md and project .pi/rules/SOUL.md for prompt layering

External dependencies

  • no separate API keys beyond the model/provider auth Pi already uses
  • compaction depends on at least one available model in the active Pi registry
  • compatibility patches for unusual providers now live in agent/extensions/, not this package

Smoke

  • npm run smoke
  • npm run smoke:offline
  • npm run smoke:strict-network
  • from project root: node agent/scripts/smoke-all.mjs

Debugging

  1. For manual inspection inside Pi, run /vera_status.
  2. For agent/internal inspection, run check_vera to get package presence, compaction routing, memory status, subagent/Chimera runtime status, CCC availability/project readiness, config files, compat shims, web-tool readiness, and overall status (ok / partial / degraded).
  3. Run npm run smoke:offline next; it covers registration, prompt layering, truncation, compaction wiring, and failure paths.
  4. If prompt assembly is wrong, inspect agent/rules/SOUL.md, project .pi/rules/SOUL.md, and @include chains.
  5. If output truncation is surprising, inspect output-guard.json and emitted details.outputGuard metadata.
  6. If built-in /compact behaves oddly, inspect /vera_status first, then agent/config/compaction.json and any persisted vera.compaction.override session entries.

Loaded through agent/settings.json as ./packages/vera-session-tools.