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-memory

v0.4.0

Published

Structured memory system for Vera agent (SQLite + FTS5)

Readme

vera-memory

A minimal structured memory layer for Vera.

Purpose

vera-memory stores and retrieves structured memories for Vera. It is intentionally small:

  • active use only
  • SQLite + FTS5
  • structured records
  • explicit CRUD and search tools
  • automatic Project Ledger summary projection before agent start
  • no automatic broad memory retrieval injection
  • no automatic writeback
  • no maintenance / review / cleanup pipeline
  • no vector database
  • no embeddings

Registered surface

Tools

  • memory_remember
  • memory_search
  • memory_update
  • memory_forget
  • memory_status

Command

  • /memory

Hooks

  • session_start
  • before_agent_start
  • session_shutdown

Project Ledger prompt projection

On before_agent_start, vera-memory reads project-scoped ledger records for:

  • project.overview
  • project.plan
  • project.progress
  • project.constraints

It appends those summaries as a compact ## Project Ledger markdown block to the active system prompt. This is prompt-time projection of fixed project ledger identities only; ordinary memory search, writes, updates, and deletes still happen through explicit tools.

Data model

Core storage uses:

  • meta
  • memories
  • memories_fts

See repository design docs for the exact V1 schema.

Config

Loaded from:

  • agent/config/memory.json
  • project .pi/config/memory.json

Minimal example:

{
  "enabled": true,
  "database": {
    "path": "../state/memory.sqlite"
  },
  "defaults": {
    "shortTtlDays": 14
  }
}

Notes:

  • relative database.path values are resolved from the config file directory
  • config is merged in order: built-in defaults, agent/config/memory.json, then project .pi/config/memory.json; project values override agent values, and unspecified nested database / defaults keys inherit from earlier layers
  • if no config file exists, built-in defaults are used
  • memory_remember does not do upsert

Project override example:

{
  "defaults": {
    "shortTtlDays": 30
  }
}

This project config changes only the short-memory TTL and inherits the database settings from the agent config or built-in defaults.

Behavior

Ordinary memory search and writes are manual; Project Ledger prompt projection is automatic.

  • search only when memory may materially improve continuity or correctness
  • store only stable, reusable information
  • update only when the same stable object changed
  • forget only on explicit request, confirmed error, or clear replacement
  • Project Ledger summaries may be present in the system prompt without a memory_search call
  • files, runtime state, and docs override memory

Smoke

Run:

npm run smoke

The smoke test covers the minimal V1 path:

  • tool registration
  • remember
  • search by query
  • search by identity
  • update
  • forget
  • status

Loaded through agent/settings.json as ./packages/vera-memory.