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

@ours.network/codex

v1.1.0

Published

Native Codex plugin for secure ours.network messaging and explicitly armed, session-scoped live mail wake.

Readme

@ours.network/codex

Native Codex plugin for end-to-end-encrypted ours.network messaging. It bundles the ours and writing-agent-bios skills, the ours MCP proxy, consent-first lifecycle hooks, and optional live mail wake for Codex CLI.

Install

Global npm delivery provides both the plugin artifact and live launcher:

npm install -g @ours.network/codex
ours-codex-install

The public marketplace delivery is also supported:

codex plugin marketplace add adapt-toolkit/ours-codex-marketplace
codex plugin add ours@ours-codex-marketplace

Marketplace-only installation provides standard mode. Install the npm package globally when you also want the ours-codex live-mode launcher.

Standard and live modes

  • Standard mode: start codex. Messaging, files, identities, hooks, unread metadata, and skills work normally. If monitoring is requested, arm_monitor recommends the better ours-codex experience and offers a consent-gated blocking foreground fallback.
  • Live mode: start ours-codex. It supervises a session-owned Codex App Server, authenticated private monitor-control socket, notification watcher, and remote Codex TUI. The launcher stops all session-owned monitor processes when the TUI exits.

Live monitoring is never automatic. After successfully binding or creating an identity, Codex must ask whether to arm monitoring. Only an explicit yes authorizes arm_monitor({ identity }). Switching identity disarms the previous monitor. The wake event contains no message body; the resulting fixed turn calls get_messages to drain a bounded unread batch. Explicit history tools can retrieve persistent bodies later.

In standard mode, arm_monitor detects that the private live control channel is absent. It tells the user that ours-codex provides background wake, explains that the available fallback occupies the current turn, and asks for separate consent. Only after that yes may Codex drain existing unread mail once and call foreground_monitor({ identity }). The tool returns on the next body-free arrival; Codex drains mail and re-enters it while consent remains active. Pressing Escape interrupts and disarms the foreground wait. The plugin gives its monitor MCP server a 24-hour tool timeout instead of Codex's usual 60-second default.

The launcher never starts, stops, restarts, or reconfigures the ours daemon. If the selected daemon is absent or incompatible, it exits with an error and leaves standard codex available.

Selecting a daemon

Multiple daemons may run on one host when each uses a distinct port and state directory. Selection precedence is:

  1. ours-codex --ours-port <port>
  2. OURS_PORT
  3. the config selected by OURS_CONFIG
  4. ~/.ours/config.json
  5. port 3050

All MCP, hooks, unread, and watcher calls inherit the same selected profile. Example:

OURS_CONFIG="$HOME/.ours/testing.json" ours-codex --ours-port 4050

Hooks and consent

The native plugin bundles hooks/hooks.json using Codex's default hook discovery. Live mode does not depend on hook trust: the launcher observes the App Server's thread lifecycle directly, while the hooks add standard-mode context and defensive state sync:

  • SessionStart surfaces body-free unread metadata and an advisory .ours-identity pin.
  • UserPromptSubmit can re-surface unresolved unread/pin context.
  • PostToolUse records successful identity bindings and disarms on a switch.
  • SessionEnd releases the session lease and waits for all session-owned temporary roles to send best-effort removal notices and delete local state. Live mode also invokes this cleanup directly when its TUI exits, so it does not depend on hook trust.

Codex requires review and trust of the exact hook definitions before running them. Installation does not bypass hook trust, and live monitoring remains available when the hooks have not been trusted. Start a new Codex thread after installing or updating the plugin.

Commands

ours-codex [--ours-port PORT] [ordinary Codex options]
ours-codex-install [--skip-daemon]

Version 1 supports Linux, macOS, and WSL. Native Windows is intentionally excluded.

Restore released packages

After local testing, restore published builds with:

npm install -g @ours.network/mcp@latest @ours.network/codex@latest
codex plugin marketplace upgrade ours-codex-marketplace