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

@agnamo/ldxv

v2.7.5

Published

LuxDev local-first AI operations CLI with a bundled Python launcher.

Readme

LDXV

LDXV is a local-first Python CLI for AI providers, reusable AI components, repositories, plugins, documents, semantic tagging, and local coding-tool configuration profiles.

Water-themed structure

Five packages named after the path water takes from rain to open sea. A layer may import from layers upstream of it, never downstream, which is what keeps the dependency graph acyclic.

| Folder | Responsibility | Modules | | --- | --- | --- | | watershed/ | Intake: adopt and run any external command-line tool | adapters, catalog | | basin/ | Core state and safeguards | errors, models, settings, security, theme, UI, lifecycle | | bay/ | Knowledge, context, routing, and indexes | Aquifer, buckets, documents, repository index, routing, web search | | delta/ | Extensions and plugin-facing tools | components, templates, Kirby, external tool configuration | | ocean/ | Main runtime and command surface | CLI, providers, environment profiles, NPM, Hermes |

src/ldxv/ remains the small public launcher, so ldxv and python -m ldxv continue to work without changing existing launch commands.

Full detail in docs/layers.md.

Personal Dock

ldxv opens a searchable personal home with favorites, recent actions, visible workspace context, and eight task categories. Search with ldxv find security, save shortcuts with ldxv pin add, and compose commands with ldxv flows add. Register tools and API integrations without editing the central command list. Existing commands and aliases stay available; current, flow, and preferences retain their original meanings.

See personal tooling for workspaces, flows, configuration editing, restoration, completion, and the restrained water theme.

Cloudflare

Run ldxv, then enter cf for discovery, platform setup, browser OAuth, and an interactive menu for zones, accounts, DNS, API tokens, and security settings. ldxv state -sec --cf also opens the security flow. Direct commands include:

ldxv cf discover
ldxv cf login
ldxv cf security --zone example.com
ldxv cf security apply tls12 --zone example.com --dry-run

Windows ARM uses WSL2. Other Windows and Linux systems use native Wrangler. Remote changes require --yes; menus preview changes and ask before applying. See Cloudflare usage and setup requirements.

Output contract

Results are JSON on standard output, so there is no --json flag to remember. Banners, spinners, warnings, and errors go to standard error, which keeps ldxv ... | jq parseable while a human watching the same run still sees progress. Add --human for tables where a command offers one.

Failures print a structured object to standard error and exit with a code that names the category: 2 usage, 10 authentication, 11 permission, 20 not found, 1 general.

Aquifer: point-and-shoot semantic tagging

The Aquifer answers what is this for about every file and folder you point it at. Each record carries exactly three tags, one per fixed slot: what it is about, what it affects, and where it belongs.

.\.venv\Scripts\python.exe -m ldxv aquifer sweep .
.\.venv\Scripts\python.exe -m ldxv aquifer list --tag code-library --slot 1 --human
.\.venv\Scripts\python.exe -m ldxv aquifer ask "which parts of this repository handle authentication?"
.\.venv\Scripts\python.exe -m ldxv aquifer chips --theme dune --output AQUIFER-CHIPS.md

sweep tags a whole tree from path signals alone, without reading file contents. Add --with-ai to have a provider choose the tags instead, keeping the heuristic as a fallback so a provider outage never fails the pass. Add --dry-run to preview.

An existing Eternal Buckets store imports directly:

.\.venv\Scripts\python.exe -m ldxv aquifer import path\to\ETERNAL-BUCKETS.json

Full detail in docs/aquifer.md.

Wrap nearly any command-line tool

ldxv tools adopts external programs so they run through one safe, scriptable surface. Around sixty tools ship as presets, including git, gh, npm, pnpm, uv, cargo, go, docker, kubectl, helm, terraform, aws, gcloud, az, supabase, wrangler, vercel, netlify, firebase, psql, redis-cli, prisma, rg, jq, ffmpeg, and ollama. Any other executable on PATH can be adopted by name.

.\.venv\Scripts\python.exe -m ldxv tools discover --human
.\.venv\Scripts\python.exe -m ldxv tools adopt-installed
.\.venv\Scripts\python.exe -m ldxv tools run git --dry-run -- status --short
.\.venv\Scripts\python.exe -m ldxv tools run terraform -- plan
.\.venv\Scripts\python.exe -m ldxv tools adopt my-tool --executable C:\work\bin\my-tool.exe

LDXV's own flags go before --; everything after -- belongs to the tool. Product commands do not invoke a shell. Arguments containing shell metacharacters or credential-shaped values are refused, and operations that destroy work or publish, such as git push --force, terraform destroy, kubectl delete, and npm publish, require --yes. ldxv bash run is a documented hazard, not a feature: it executes an arbitrary shell with no guard and no timeout.

Themes

Four themes are guaranteed: blue (the default), solarized, dune, and mono. aurora, ember, and midnight remain as aliases.

.\.venv\Scripts\python.exe -m ldxv config themes --human
.\.venv\Scripts\python.exe -m ldxv config theme solarized
.\.venv\Scripts\python.exe -m ldxv config themes --check

--check exits non-zero if a required theme is ever dropped. One palette drives the terminal and exported HTML chips, so both agree on colour. Set LDXV_NO_ANIMATION to keep colour but drop motion; NO_COLOR, CI, and TERM=dumb are honoured automatically.

Launch in five minutes

Run these commands from the LDXV folder in PowerShell. They do not require activating a virtual environment.

python -m venv .venv
.\.venv\Scripts\python.exe -m pip install --upgrade pip
.\.venv\Scripts\python.exe -m pip install -e ".[dev]"
.\.venv\Scripts\python.exe -m ldxv setup

setup prints the shortest safe walkthrough. That is the whole onboarding: LDXV is locked by default, so the first command is ldxv auth init to set the local password (see docs/security-model.md). Set LDXV_LOCK=0 if you deliberately want to run unprotected. Provider keys LDXV loads from ~/.hermes/.env are never passed to the scripts, tools, plugins, or env run children it spawns.

Configure a provider only after setting its API key in the operating-system environment. LDXV stores the environment-variable name, not the key itself.

$env:OPENAI_API_KEY = "your-key"
.\.venv\Scripts\python.exe -m ldxv providers configure openai --model gpt-4.1 --api-key-env OPENAI_API_KEY
.\.venv\Scripts\python.exe -m ldxv providers list
.\.venv\Scripts\python.exe -m ldxv chat "Map this repository" --provider openai --mode deep

Kirby tool workflow

Kirby is LDXV's safe tool-ingestion feature. Its command tree is available as ldxv kirby or the water-themed alias ldxv stream:

.\.venv\Scripts\python.exe -m ldxv kirby scan <source> [--with-ai] [--provider NAME] [--model NAME]
.\.venv\Scripts\python.exe -m ldxv kirby plan <source> [--name NAME]
.\.venv\Scripts\python.exe -m ldxv kirby wrap <source> [--name NAME] [--dry-run]
.\.venv\Scripts\python.exe -m ldxv kirby duplicate <source> <destination> [--dry-run]
.\.venv\Scripts\python.exe -m ldxv kirby validate <source> [--require-script PATH]

Use ldxv --help for the structured command tree and action flags, or ldxv kirby <command> --help for detailed usage.

Public NPM package

This repository publishes the NPM launcher @agnamo/ldxv. It bundles the LDXV Python source and exposes the ldxv command, so the install is one line and needs no account, no login, and no configuration:

npm install --global @agnamo/ldxv
ldxv

The launcher requires Python 3.11 or newer on PATH. The npm package cannot bundle an interpreter, so npm install --global @agnamo/ldxv only places the launcher; ldxv names the interpreters it tried and exits non-zero if it cannot start one. Override the probe with LDXV_PYTHON=/path/to/python3.

Maintainer release:

npm install
npm test
npm run pack:check
npm publish --access public

The package is scoped, and a scoped package defaults to restricted — which would make npm install --global @agnamo/ldxv fail for anyone outside the org. publishConfig.access is therefore set to public so the published launcher is installable. Do not add "private": true to package.json; that setting prevents NPM from publishing the package at all.

Package naming and NPM discovery

ldxv name opens a type-ahead wizard when it has a terminal. The package workflow can generate candidates, check names against the public NPM registry, read names from a file, or search existing packages:

ldxv name -pkg -search
ldxv name -pkg -search --generate -l 5 --prefix mai --count 20
ldxv name -pkg -search mai react
ldxv name -pkg -search --query "react state" --limit 10

Use the flags for scripts and redirected output. A registry 404 means a name looks available at lookup time, not that NPM guarantees a later publish. The --avoid and --min-distance options are similarity heuristics, not a trademark, policy, or publish-acceptance check.

Easy coding-tool configuration profiles

LDXV manages named profiles for Claude Code, Codex, and Google Antigravity. You can also register another JSON or TOML file, including a Cursor settings file. Saving and previewing never changes the target file. Applying saves one exact snapshot first. Reset restores that original file byte for byte, or removes a file that LDXV created when no original existed.

Start with the built-in targets:

.\.venv\Scripts\python.exe -m ldxv tool-config targets

| Tool | User target | Workspace target | | --- | --- | --- | | Claude Code | ~\.claude\settings.json | .claude\settings.json | | Codex | ~\.codex\config.toml | .codex\config.toml in a trusted project | | Google Antigravity | ~\.gemini\config\mcp_config.json | User target only |

1. Save a profile

A profile name uses lowercase letters, digits, underscores, or hyphens. This example creates a cautious Codex profile without changing Codex yet.

.\.venv\Scripts\python.exe -m ldxv tool-config save codex focused --config '{"approval_policy":"on-request","sandbox_mode":"workspace-write"}'

2. Preview it

.\.venv\Scripts\python.exe -m ldxv tool-config preview codex focused

Read the rendered configuration and target path. Nothing has been written at this stage.

3. Apply it

.\.venv\Scripts\python.exe -m ldxv tool-config apply codex focused

For a project-specific Codex profile, pass the workspace explicitly:

.\.venv\Scripts\python.exe -m ldxv tool-config apply codex focused --scope workspace --workspace C:\work\trusted-project

4. Restore the default state

.\.venv\Scripts\python.exe -m ldxv tool-config reset codex
.\.venv\Scripts\python.exe -m ldxv tool-config reset codex --scope workspace --workspace C:\work\trusted-project

Reset only works when LDXV created the matching snapshot. It restores the exact pre-LDXV state instead of guessing a vendor default, and it never removes a configuration file that it did not first snapshot.

Claude Code and Google Antigravity examples

Use the same save, preview, apply, and reset sequence with the target name.

.\.venv\Scripts\python.exe -m ldxv tool-config save claude_code restricted --config '{"permissions":{"deny":["Bash(rm:*)"]}}'
.\.venv\Scripts\python.exe -m ldxv tool-config preview claude_code restricted
.\.venv\Scripts\python.exe -m ldxv tool-config apply claude_code restricted
.\.venv\Scripts\python.exe -m ldxv tool-config reset claude_code

.\.venv\Scripts\python.exe -m ldxv tool-config save google_antigravity local_mcp --config '{"mcpServers":{}}'
.\.venv\Scripts\python.exe -m ldxv tool-config preview google_antigravity local_mcp

The Antigravity example starts with an empty MCP server map. Add only server entries you have reviewed before applying it.

Add another supported tool

Register a JSON or TOML target once, then manage profiles exactly as above. This Cursor example uses a real VS Code-compatible setting.

.\.venv\Scripts\python.exe -m ldxv tool-config register cursor --path "$env:APPDATA\Cursor\User\settings.json" --format json --description "Cursor user settings"
.\.venv\Scripts\python.exe -m ldxv tool-config save cursor readable --config '{"editor.fontSize":15}'
.\.venv\Scripts\python.exe -m ldxv tool-config preview cursor readable
.\.venv\Scripts\python.exe -m ldxv tool-config apply cursor readable
.\.venv\Scripts\python.exe -m ldxv tool-config reset cursor

Routine commands

.\.venv\Scripts\python.exe -m ldxv buckets put knowledge getting-started README.md
.\.venv\Scripts\python.exe -m ldxv docs ingest README.md
.\.venv\Scripts\python.exe -m ldxv index build .
.\.venv\Scripts\python.exe -m ldxv commands recommend .
.\.venv\Scripts\python.exe -m ldxv hermes status
.\.venv\Scripts\python.exe -m ldxv --help

Set LDXV_HOME or use --home to keep state separate for a test or a specific workspace.

Reference documentation