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

@onemem/codex-plugin

v0.1.2

Published

OneMem plugin for Codex - bundles verifiable memory MCP tools and optional lifecycle trace hooks

Readme

@onemem/codex-plugin

OneMem plugin for Codex. It gives Codex a first-class installable package for portable memory and verifiable trace workflows.

What Works Now

  • Bundles the OneMem MCP server through .mcp.json.
  • Exposes OneMem memory/search/verify tools after the plugin is installed and the MCP server is enabled.
  • Includes optional lifecycle hooks for trace capture:
    • SessionStart arms local trace capture state when trace env vars exist.
    • PostToolUse buffers Codex tool calls locally without network work.
    • Stop flushes buffered calls to Sui/Walrus and closes the trace session when trace config and client setup succeed.

MCP memory tools are the stable baseline. Hook trace capture depends on Codex hook trust and ONEMEM_NAMESPACE_ID / ONEMEM_RW_CAP_ID configuration.

Codex Memories Compatibility

Codex has its own local Memories and Chronicle features. OneMem does not write to ~/.codex/memories, does not replace /memories, and should not be described as the built-in Codex memory backend.

Use Codex Memories for local preferences, recurring workflows, and project conventions that only need to live inside Codex. Use OneMem when the memory or trace needs to be portable across runtimes, encrypted through Seal, stored on Walrus/MemWal, or verifiable against Sui.

Configure Memory Tools

The bundled MCP config forwards these env variable names when present:

  • ONEMEM_CREDENTIALS_PATH
  • ONEMEM_ACCOUNT_ID
  • ONEMEM_DELEGATE_KEY
  • ONEMEM_EMBEDDING_API_KEY
  • MEMWAL_PACKAGE_ID
  • MEMWAL_RELAYER_URL
  • ONEMEM_MEMWAL_NAMESPACE
  • SUI_NETWORK

onemem login credentials also work through the shared SDK resolver.

Configure Optional Trace Hooks

For lifecycle trace capture, configure:

  • ONEMEM_NAMESPACE_ID
  • ONEMEM_RW_CAP_ID
  • ONEMEM_PRIVATE_KEY or a local Sui keystore
  • SUI_NETWORK

Codex requires non-managed hooks to be reviewed and trusted before they run. Use /hooks in Codex after installing or changing the plugin.

Current proof boundary: local codex exec tests on Codex CLI 0.140 did not run user-level or plugin-local hooks, even with hook features enabled and trust bypass flags. Use an interactive trusted /hooks session, or a newer Codex version with demonstrated hook execution, before claiming automatic Codex hook trace coverage.

Install From The Public Repository Marketplace

codex plugin marketplace add Blockchain-Oracle/onemem --json
codex plugin add onemem-codex@onemem --json

After install, use /hooks in Codex to review and trust the optional lifecycle hooks if you want trace capture. MCP memory tools work without hook trust.

This GitHub marketplace path requires .agents/plugins/marketplace.json and packages/plugin-codex/ to be present on the branch Codex fetches. By default Codex fetches the repository's default branch; use --ref <branch> only for pre-release testing.

Publication claim boundary: this install path provides the stable MCP layer and ships optional hook scripts that flush through the current published @onemem/sdk-ts trace CLI. Do not claim full automatic Codex tool-call trace coverage until a trusted /hooks session emits a verifiable on-chain OneMem TraceSession.

Install From A Local Checkout During Development

This repo includes a local Codex marketplace manifest at .agents/plugins/marketplace.json.

codex plugin marketplace add /absolute/path/to/onemem --json
codex plugin add onemem-codex@onemem --json

After install, use /hooks in Codex to review and trust the optional lifecycle hooks if you want trace capture. MCP memory tools work without hook trust.

Spec: docs/05-our-architecture/03-runtimes/codex-cli-integration.md.