@llanite/cli
v0.2.0
Published
Llanite CLI for installing, running, and customizing local AI stack profiles.
Readme
Llanite CLI
Llanite is a CLI-first tool for installing, running, and customizing local AI stack profiles.
This repository currently contains Part 1 of the MVP: the CLI and project foundation.
Development
npm install
npm run build
node dist/index.js --version
node dist/index.js --help
node dist/index.js config paths
node dist/index.js doctor
node dist/index.js doctor local-coder
node dist/index.js fetch
node dist/index.js catalog
node dist/index.js search coder
node dist/index.js inspect local-coder
node dist/index.js stacks
node dist/index.js stacks local-coderFor local development:
npm run dev -- doctorThe published package will expose both commands:
llanite --version
lla --versionLocal State
Llanite resolves local state from LLANITE_HOME when set, otherwise it uses:
~/.llaniteInspect resolved paths with:
llanite config paths
lla config pathsRegistry
The MVP currently ships with a bundled sample registry. Fetch validates that registry and caches it locally:
llanite fetch
llanite stacks
llanite stacks local-coder
llanite catalog
llanite catalog --type model
llanite search coder
llanite inspect local-coder
llanite inspect local-coder --json
llanite doctor
llanite doctor local-coder
llanite doctor local-coder --jsonFor local registry development, override the source:
LLANITE_REGISTRY_SOURCE=/path/to/registry llanite fetchRenaming Product Terminology
Most product and command terminology is centralized in src/core/identity.ts. To rename the active product terminology across source, tests, package metadata, README, and registry files, use:
npm run rename:product -- --product "Stackpack" --command stackpack --short spk --dry-run
npm run rename:product -- --product "Stackpack" --command stackpack --short spkThe script derives defaults for package scope, local home directory, env var prefix, and bundled agent id. Override them when needed:
npm run rename:product -- --product "Stackpack" --command stackpack --short spk --scope @stackpack --env-prefix STACKPACK --home-dir .stackpack --agent-id stackpack-agent