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

@ols-cli/lightspeed

v0.2.0

Published

OpenShift Lightspeed CLI — AI-powered assistant for OpenShift from your terminal

Readme

Lightspeed CLI

AI-powered OpenShift assistant from your terminal. Built on pi-mono.

Connects to OpenShift Lightspeed Service (OLS) and gives you an interactive AI chat in your terminal — powered by your cluster's OLS instance.

Features

  • 🤖 Interactive AI assistant for OpenShift (TUI)
  • 🔄 Streaming responses via SSE
  • 💬 Session management with branching
  • 🔐 K8S auth from kubeconfig (oc login)
  • 🛠️ OpenShift-aware tools (oc-get, oc-describe, oc-logs)
  • 📊 Cluster status at a glance
  • 🔌 oc plugin compatible (oc lightspeed)

Install

npm install -g @ols-cli/lightspeed

Quick Start

# Configure OLS endpoint
ols config set serviceUrl https://lightspeed-service.openshift-operators.svc:8443

# Interactive mode
ols

# One-shot query
ols "how do I scale my deployment?"

# Health check
ols health

# List conversations
ols conversations

Usage

# Interactive mode
ols

# One-shot query
ols "how do I scale my deployment?"

# Streaming mode
ols --stream "check my pod health"

# As oc plugin
oc lightspeed "what's wrong with my cluster?"

Configuration

# Configure OLS endpoint
ols config set serviceUrl https://lightspeed-service.openshift-operators.svc:8443

# Or via environment
export OLS_SERVICE_URL=https://lightspeed-service.example.com:8443

# Auth comes from kubeconfig — just oc login
oc login https://api.my-cluster:6443

Tools

| Tool | Description | |------|-------------| | ols_query | Query OLS for OpenShift knowledge (RAG-powered) | | ols_stream | Streaming query to OLS | | ols_health | Check OLS service health | | ols_conversations | List past conversations | | ols_feedback | Submit response feedback | | oc_get | Get OpenShift resources | | oc_describe | Describe resources in detail | | oc_logs | Fetch pod logs | | oc_exec | Execute commands in pods | | cluster_status | Quick cluster health overview |

Skills

| Skill | When to Use | |-------|-------------| | troubleshoot-pod | Pod is CrashLooping, failing, or not ready | | deploy-app | Deploying a new application | | security-audit | Security posture review | | cluster-health | Overall cluster health check |

Architecture

lightspeed-cli/
├── packages/
│   ├── ai/            — Unified LLM API (from pi-mono)
│   ├── agent/         — Agent runtime with tool calling (from pi-mono)
│   ├── tui/           — Terminal UI library (from pi-mono)
│   ├── ols-client/    — OLS REST API client (new)
│   └── ols-cli/       — CLI entry point + TUI (from pi-mono coding-agent)
│       └── src/core/tools/ols/  — OLS + OpenShift tools
├── skills/            — OpenShift-specific agent skills
├── scripts/oc-lightspeed — oc plugin wrapper
├── .claude-plugin/    — Claude Code compatible
├── SKILL.md           — OpenClaw / AgentSkills compatible
└── README.md

Requirements

  • Node.js >= 20.6.0
  • OpenShift cluster with Lightspeed Service deployed
  • oc CLI (for auth via kubeconfig)

License

Apache-2.0 (original pi-mono code is MIT)