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

@smart-planner/cli

v0.4.0

Published

Transparent optimization runs for AI agents

Readme

Optivise CLI

Give your AI agent real optimization power.

Optivise CLI is a transparent, open-source data pipeline for AI agents. It lets an agent prepare CSV data and configuration, show you the exact request, and call an Optivise model for validation or solving. The CLI is local-first: it does not run a daemon, discover unrelated files, or send telemetry.

The agent prepares the data. You decide what to send. --dry-run prints a JSON manifest with the endpoint, model, configuration, selected files, byte counts, hashes, expected writes, and redacted authentication mode. Only after you approve that manifest should the agent run validate or solve.

What it is

  • A small Node.js CLI with one command, smart-planner.
  • A portable agent skill named smart-planner-cli.
  • A CSV and JSON pipeline for immutable Optivise model descriptors.
  • Open source under the MIT License and auditable on GitHub.

What it is not

  • Not a daemon, monitoring process, scheduler, or agent replacement.
  • Not a data collector and not a background service.
  • Not a telemetry or analytics client.
  • Not autonomous operational authority. The agent and user choose the payload and command.
  • Not a closed solver implementation. The hosted Optivise service performs the metered solve.

Install

npm install --global @smart-planner/[email protected]
smart-planner --help

The package is free to install and MIT-licensed. Hosted solver usage is metered by the Optivise service. Pricing depends on the service plan and is not encoded in this client.

Agent onboarding prompt

Use $smart-planner-cli to inspect my planning data, run --dry-run, show me the JSON manifest, ask for approval, and only then submit an Optivise validation or solve.

A transparent run

smart-planner validate --dry-run --format json
# Review the manifest with the user.
smart-planner validate --format json

smart-planner solve --dry-run --out-dir results --format json
# Review the manifest with the user.
smart-planner solve --out-dir results --format json

validate and solve read the named CSV files and configuration locally. They send those files only when the corresponding command is explicitly run. --dry-run performs the public model-descriptor GET needed to resolve datasets, but never performs the dataset POST, never uploads a file, and never creates result artifacts.

Example

See examples/capacity-planning for a small fixture, including a shared work_items.csv, a configuration file, and the expected solver output shape. The fixture is suitable for local smoke tests with a configured backend.

Network and filesystem boundaries

The complete command-by-command behavior is in docs/network-behavior.md. In short:

  • Model discovery, templates, login, validation, solve submission, run polling, and artifact download are explicit commands.
  • Requests use HTTPS, except for localhost, 127.0.0.1, and ::1 development endpoints.
  • Requests have a bounded 30-second network timeout.
  • Tokens are sent as bearer authorization when logged in and are redacted from manifests and logs.
  • Dataset paths must resolve inside the selected data directory. Artifact names must be safe CSV basenames.
  • The CLI does not promise how the hosted service handles data after an explicit request. See the Optivise privacy policy for service-side terms.

Audit the source

Compatibility

The CLI itself is tested on Node.js 18, 20, and 22 in CI. Agent-platform guides are deliberately labeled as tested or setup-only. They describe how an agent can invoke a local command runner; they do not claim that a consumer chat product can execute shell commands without an enabled tool.

Contributing

Read CONTRIBUTING.md before opening a pull request. Security reports should follow SECURITY.md.

Copyright (c) 2026 Optivise.