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

@cmdoss/senro

v0.1.3

Published

Senro, powered by Agent Pass — local trading strategies, explicit permissions and an independent execution loop

Readme

Senro

Senro, powered by Agent Pass. Package and CLI: @cmdoss/senro (senro), MCP server senro, and SENRO_* environment variables.

Local Sui trading strategies for Claude Code and Codex. One local service owns execution; the browser and MCP are interfaces to it.

Default: Sui Testnet. Uses the official Agent Pass SDK and its demo-asset, protocol stand-in pools. Mainnet is disabled. Paper is a separate simulator.

npm package

The compiled CLI is distributed as @cmdoss/senro. After an approved registry release, install it with npm or invoke the selected version through npx:

npx @cmdoss/senro@<version> setup --client codex --register --start
# Use --client claude for Claude Code.

Setup pins a durable runtime outside the npm cache before writing MCP registration. State and SDK keys default to ~/.senro/data; executable versions and assets live in ~/.senro/runtimes. Override these independently with SENRO_DATA_DIR and SENRO_INSTALL_DIR. An already-running different build requires an explicit stop/restart; setup never replaces it silently. No wallet authorization or trading Start occurs during installation.

senro --help, --version, start and mcp use compiled JavaScript; consumers do not need TypeScript or tsx. Source-checkout instructions follow below. The package includes an npm shrinkwrap so consumer and managed installations use the reviewed production dependency tree. See npm CI and release for validation, release channels and first-publication setup.

Quick start

Requires Node 22.13+, npm and a Sui wallet extension.

npm ci
npm run dev

Open localhost:4317. Connect wallet → choose a strategy → set amounts, price and limits → review and sign in Agent Pass → Start explicitly. Connecting or authorizing never starts a plan.

For MCP, run one of:

npm run build
node scripts/setup.mjs --client codex --register --start
node scripts/setup.mjs --client claude --register --start

Setup updates only the selected client entry and starts/reuses the matching local service. Reopen the client if needed. Call marketplace_status, then onboard and poll onboarding_status; onboarding opens the wallet connection page automatically. See the trading skill for tool sequencing.

Operation

  • Keep the machine and local service running. Closing chat/browser or logging out does not stop an active plan. Restarted plans pause and require explicit Resume.
  • Pause/Stop prevent new trades. Revoke requires the owner to choose Stop the agent now (or Close the pass) on the official Agent Pass page, approve in the wallet, and chain confirmation. Holdings are not automatically sold; submitted transactions still reconcile.
  • Delegated keys stay in the official local SDK's agent-pass/ data directory. Never commit runtime data or signer sessions. No owner seed is requested.
  • Buying PnL uses verified fills and the last confirmed venue mark. A mark older than 60 seconds stays visible with its time and is not a live quote. Missing cost basis, including SUI sales, stays unavailable. Gas is recorded separately. Funding is not profit.
  • One active plan per runtime. No hosted custody, futures or copy-trading engine.

Paper experiment, isolated from Testnet:

SENRO_MODE=paper SENRO_DATA_DIR=.data/paper-demo PORT=4318 npm run dev

Configuration: .env.example. Scripts read shell variables; they do not automatically load .env. Never run two processes against one data directory. A stale lock requires inspecting its process before removing only runner.lock.

Develop and verify

npm run check
npm run smoke
npm run smoke:package

check runs formatting, typecheck, tests, build and repository hygiene. Smoke uses temporary Paper data and actual HTTP/MCP processes; it does not trade, register clients or touch normal plans. npm run doctor -- --probe optionally reads a Testnet quote without trading. Build before npm start or after client changes.

Deploy the website

The hosted website serves the same Home/catalog UI. Setup prompts and local-app links hand off to the user's installation. Wallet sessions, plans, SDK signing and execution stay local; the public server has no trading or session-token endpoints.

npm run build
npm run start:web  # public catalog, port 3000

Production uses Railway's GitHub integration and root Dockerfile, port 8080 and /api/health as the health check. No persistent storage or keys are needed. See deployment instructions. npm start remains the local trading runtime and must not be used as the hosted container command.

Code map

| Path | Responsibility | | ----------------------------------- | ------------------------------------------------------------------- | | src/client/ | Browser pages, controllers, components, wallet and SDK presentation | | src/runtime/, src/shared/ | Configuration, process lock and shared defaults | | src/testnet/ | Plan lifecycle, storage, read models and durable runner | | src/testnet/chain/ | SDK loading, policy checks, prepared transactions and receipts | | src/engine.ts, src/workflows.ts | Isolated Paper execution and review workflows | | src/http.ts, src/mcp.ts | Loopback HTTP and stdio MCP transports | | public/styles/ | Ordered Sui styles; generated JS lives in ignored public/assets/ | | tests/ | Client, Paper, Testnet, runtime and transport regression suites |

References