@shendeguize/local-sm
v0.3.4
Published
npm launcher for the LocalSM Python CLI
Readme
@shendeguize/local-sm
This package is a self-contained npm launcher for the LocalSM Python CLI. It includes the matching LocalSM wheel, so it does not require the LocalSM project to be published on PyPI.
Install Node.js 18+ first, then run:
npx @shendeguize/local-sm init
npx @shendeguize/local-sm statusinit writes a commented starter configuration to ~/.config/localsm/ and
never overwrites an existing file. Runtime state goes to
~/.local/state/localsm/. Until the configuration exists, commands report
where it should live rather than silently doing nothing.
The launcher installs uv with Astral's official installer on first run when
it is not already available, so no separate setup step is needed. The package
also ships an install script that does the same thing earlier, but recent npm
versions block lifecycle scripts by default, so the launcher's own check is
what usually performs the installation.
uv creates an isolated environment from the bundled wheel and downloads
only LocalSM's public runtime dependencies. The npm package is the direct
installation channel; it does not bundle Python itself.
For the full LocalSM documentation, see the repository README.
