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

sinores-cli

v0.1.2

Published

<p align="center"> <img src="https://sinores.net/icon.png" alt="Sinores" width="20%" /> </p>

Readme


Features

  • Terminal-native interface. No browser context switching.
  • File-system operations with explicit permission model keyed by tool:path.
  • Persistent sessions stored in ~/.sinores/sessions/.
  • Session resume and export to Markdown.
  • Auto-truncation of history near context limits.
  • @<query> inline file picker for attaching local files as context.
  • Live reasoning and content streaming.

Requirements

  • Node.js >= 18
  • ESM ("type": "module")
  • Moonshot API key

Installation

npm install -g sinores-cli

Then run:

sinores

Configuration

Create a .env file in the working directory:

cp .env.example .env

Set the API key:

API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Environment variables are also supported:

export API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Usage

Start a new session:

sinores

Resume a previous session:

sinores --resume

Sessions

Conversations are auto-saved to ~/.sinores/sessions/. Use --resume on startup or /resume in the prompt to restore a previous session. Use /new to discard the current session and start a new one. Use /export to write the current session to a Markdown file in the current working directory.

History is truncated automatically when approaching the model's context limit.

Permission Model

Every file write, edit, delete, or shell command requires explicit approval. Approvals are scoped to the current session and keyed by tool:path. An approval granted for one operation does not extend to other paths or subsequent sessions.

Commands

Slash Commands

| Command | Action | |---------|--------| | /goal <description> | Set a goal, plan it, then execute step by step | | /init | Scan project tree and generate .sinores/SINORES.md context file | | /help | Show available commands | | /mode <mode> | Switch mode: chat, agent, code, research | | /export | Save current session to Markdown in CWD | | /resume | Browse and restore a previous session | | /new | Start a new session | | /clear | Reset the conversation (requires double confirmation) |

Keyboard Shortcuts

| Key | Action | |-----|--------| | / | Navigate input history | | Tab | Autocomplete commands; cycle hints when empty | | Ctrl+C | Exit (press twice when idle) | | Esc | Abort a running agent | | @<query> | Inline file picker for attaching context |

Goal Mode Keys

When reviewing or executing a goal plan:

| Key | Action | |-----|--------| | Enter | Approve plan / continue to next step | | E | Refine plan with LLM | | R | Regenerate plan | | Esc | Cancel goal execution |

Development

npm run dev              # tsx watch mode
npm run dev -- --resume  # dev mode with session picker
npm run build            # compile TypeScript to dist/
npm start                # run compiled build
npm start -- --resume    # compiled build with session picker
npm test                 # run test suite

License

MIT