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

@sentry/junior-memory

v0.102.2

Published

The memory plugin stores durable, actor-scoped facts, recalls relevant facts into prompts, and learns candidates from completed sessions. SQL schemas, exported types, tools, and tests are authoritative.

Readme

@sentry/junior-memory

The memory plugin stores durable, actor-scoped facts, recalls relevant facts into prompts, and learns candidates from completed sessions. SQL schemas, exported types, tools, and tests are authoritative.

Surfaces

  • createMemory, removeMemory, listMemories, and searchMemories are model-visible tools registered by src/plugin.ts.
  • userPrompt recall contributes bounded memory context before a run.
  • processSession reviews completed sessions asynchronously for passive learning.
  • The memory CLI namespace provides explicit administrative search and inspection.

Scope And Visibility

  • Memory scope is derived from the active actor and source, never from model-supplied ownership fields.
  • Private conversations and local sources remain private by default.
  • Recall filters candidates by actor, source, visibility, status, and relevance before content reaches the model.
  • Administrative reads require explicit selectors and safe output defaults.
  • Memory content, embeddings, source excerpts, and review prompts must not be logged or traced.

Storage

  • The Drizzle schema in src/db/schema.ts and generated migrations define the database contract.
  • Records retain provenance, lifecycle status, supersession relationships, and timestamps needed for review and deletion.
  • Embeddings are derived indexes, not independent memory authority.
  • Writes are idempotent where a completed session or tool retry can repeat.
  • Removal and supersession preserve enough lifecycle information to prevent deleted facts from being recalled or silently recreated.

Learning And Recall

  • Explicit user requests to remember or forget take priority over passive learning.
  • Passive extraction creates only durable, reusable facts—not transient tasks, conversation summaries, secrets, or speculative interpretation.
  • Candidate review resolves duplicates and supersession before activation.
  • Recall is bounded and relevance-ranked; an empty result contributes no filler prompt text.
  • Model or embedding failures fail the owning hook/task without corrupting existing memory state.

Configuration

  • AI_MEMORY_MODEL or createMemoryPlugin({ modelId }) selects the structured review model.
  • MEMORY_RECALL_MAX_VECTOR_DISTANCE or recallMaxVectorDistance configures the vector candidate threshold.
  • Generate schema changes with pnpm --filter @sentry/junior-memory db:generate.

Follow ../../policies/data-redaction.md, ../../policies/security.md, and the plugin contract in ../junior-plugin-api/README.md.