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

opencode-itsuki

v0.1.0

Published

Itsuki memory for OpenCode: bounded recall before every new human turn, exactly-once capture after each settled one.

Readme

opencode-itsuki

Long-term memory for OpenCode, backed by Itsuki.

Relevant memory is recalled before each new human turn, and what you decide is captured after the turn settles — automatically, without you asking for it.

Status: unpublished. This package has not been released to npm. The install command below will not work yet.

Requirements

  • OpenCode >=1.18.18 <2 (tested against 1.18.18)
  • Node 22+

Configure

The API key is read only from the environment. It is never accepted through opencode.json: that file expands {env:VAR} before parsing, so a key placed there would be resolved into the options object that config validation and client.config.get() can see. A secret-shaped option value is refused with a readable message.

export ITSUKI_API_KEY=itsuki_live_...

Optional settings in opencode.json (no secrets):

{
  "plugin": [
    ["opencode-itsuki", {
      "userId": "your-stable-subtenant",
      "recall": { "maxItems": 10, "maxChars": 4000, "timeoutMs": 1500 },
      "capture": { "enabled": true }
    }]
  ]
}

What it does

| Behaviour | Detail | |---|---| | Recall | Once per genuinely new human turn, bounded, and injected transiently so it never enters your transcript or your session titles | | Capture | Only after a settled, successful turn (finish === "stop", completed, no error, no pending tool calls) | | Durability | The settled turn is written to a local spool atomically before any network call, because the host exits ~20ms after a session goes idle | | Exactly-once | Content-derived idempotency keys plus a first-sight watermark: retries, restarts, forks and replays collapse to one write | | Tenancy | The credential fixes the account; an optional configured userId narrows it. Nothing the model says can change either |

Tools

itsuki_recall · itsuki_save · itsuki_memories · itsuki_memory · itsuki_status

Deliberately absent

  • Update Memory — Itsuki has no safe caller-addressable update, and faking one by deleting and recreating would destroy history. Absent rather than pretended.
  • Memory history — no read API exists yet.
  • Delete / delete-all / entity operations — destruction needs a confirmation UX a tool call cannot provide. Use the MCP door or the dashboard.
  • Per-event status lookup — the service exposes packet/job status, not arbitrary event lookup. itsuki_status is not an equivalent.

Memory recalled into a prompt is delimited and labelled as data, not instructions, and is bounded before injection. That is a structural defence: it makes an injection attempt visible and contained, but no wrapper can guarantee a model treats embedded text as inert.

License

Apache-2.0