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

@gauravsharmacode/polestar-x

v0.2.1

Published

PoleStar-X sovereign coding agent CLI — built on the pi SDK with enhanced model routing, self-healing retry, and cross-session memory

Readme

PoleStar-X

██████╗  ██████╗ ██╗     ███████╗███████╗████████╗ █████╗ ██████╗      ██╗  ██╗
██╔══██╗██╔═══██╗██║     ██╔════╝██╔════╝╚══██╔══╝██╔══██╗██╔══██╗     ╚██╗██╔╝
██████╔╝██║   ██║██║     █████╗  ███████╗   ██║   ███████║██████╔╝█████╗╚███╔╝ 
██╔═══╝ ██║   ██║██║     ██╔══╝  ╚════██║   ██║   ██╔══██║██╔══██╗╚════╝██╔██╗ 
██║     ╚██████╔╝███████╗███████╗███████║   ██║   ██║  ██║██║  ██║     ██╔╝ ██╗
╚═╝      ╚═════╝ ╚══════╝╚══════╝╚══════╝   ╚═╝   ╚═╝  ╚═╝╚═╝  ╚═╝     ╚═╝  ╚═╝

Sovereign fork of pi — a self-configuring coding agent you own outright.

PoleStar-X is an opinionated, batteries-included middle ground between rigid enterprise tools and barebones pi. It configures itself, sits between your intent and execution, and ensures you remain in control of your agentic workflows.


Alternate Branding

Compact:

  ___  ___  _    ___ ___ _____ _   ___   __  __
 | _ \/ _ \| |  | __/ __|_   _/_\ | _ \__\ \/ /
 |  _/ (_) | |__| _|\__ \ | |/ _ \|   /___>  <
 |_|  \___/|____|___|___/ |_/_/ \_\_|_\  /_/\_\

Tiny:

  _   _      _  __ ___      _        
 |_) / \ |  |_ (_   |  /\  |_) __ \/
 |   \_/ |_ |_ __)  | /--\ | \    /\

Install

# Global install (recommended)
npm install -g @gauravsharmacode/polestar-x

# Or run without installing
npx @gauravsharmacode/polestar-x

Then start the agent:

polestar

To verify install:

polestar --help

Quick Start (from source)

npm install --ignore-scripts
npm run build
npm run polestar

For a full interactive session:

./pi-test.sh

Features & Product Differentiators

1. Smart Model Router

Kills "provider hell." PoleStar-X automatically classifies tasks and routes them to the most appropriate model based on difficulty, cost, and privacy sensitivity. Local models (Ollama/local) are automatically used for privacy-sensitive tasks.

2. Self-Configuration Engine

The agent extends itself. PoleStar-X can scaffold new skills, manage its own rules (AGENTS.md), and enable/disable its own tools within the same session.

3. First-Class pi-memory

Integrated cross-session work-journal and semantic retrieval. The agent remembers what you did, how you did it, and your preferred conventions across projects.

4. Self-Healing Dev/Test Loop

On lint, type, or test failure, PoleStar-X diagnoses the root cause and retries the implementation rather than blindly pivoting.


Custom Tool Suite

| Tool | Description | | --- | --- | | glob | Optimized file discovery with gitignore support | | todowrite | Structured task tracking and visualization | | apply_patch | Surgical code edits via unified diff format | | webfetch | Direct content retrieval from URLs | | websearch | Grounded search for up-to-date documentation | | question | Targeted clarification and choice gathering | | manage_rule | Dynamic agent rule management | | task | Multi-agent orchestration and background tasks | | memory_search | Semantic search through historical work | | manage_skill | Scaffold and load new SKILL.md documents |


Interactive Commands

| Command | Role | | --- | --- | | /think | Switch to read-only planning mode | | /write | Switch to implementation mode (default) | | /tools | List all active and registered tools | | /hooks | Inspect active lifecycle listeners | | /mcp | Manage and monitor running MCP servers | | /remember | Manually log a learning to long-term memory | | /recall | Search history for specific context | | /init | Bootstrap the .polestar configuration directory |


Development & CI/CD

CI Pipeline

Ensures code quality and structural integrity on every push and PR to main.

  • Lint & Check: Biome-driven formatting and type-checking.
  • Build & Test: Full workspace build and regression suite.

CD / Release Pipeline

Automated versioning and binary distribution.

  • Release: Triggered via workflow_dispatch to bump versions, update changelogs, and tag.
  • Build Binaries: Triggered on tags to build multi-platform binaries and publish to npm.

Branch Protection

The main branch is protected. All changes must go through PRs with mandatory reviews from Code Owners.


Attribution & Licensing

PoleStar-X preserves the MIT license and original copyright of pi (Mario Zechner). We also adopt and improve patterns from Claude Code, gemini-cli, and OpenCode.

See NOTICE.md for the full Attribution Ledger.


License

MIT