Skip to content

Packaging Plugins ​

TokenPilot uses a pnpm workspace within the LightRSI monorepo.

Build commands from CONTRIBUTING.md:

CommandPurpose
pnpm installInstall all workspace dependencies
pnpm buildBuild all shared packages in the workspace
pnpm lightrsi:buildBuild the standalone CLI surface
pnpm lightrsi:installInstall the CLI entrypoint globally
pnpm --dir website docs:buildBuild the documentation site

Adapter install scripts:

HostInstall Command
OpenClawpnpm component:install:tokenpilot:openclaw
Codex CLInpm --prefix components/adapters/codex run install:codex
Claude Codenpm --prefix components/adapters/claude-code run install:claude-code
pinpm --prefix components/adapters/pi run install:pi
OpenCodenpm --prefix components/adapters/opencode run install:opencode
DeepSeek HarnessBuild and pack @lightrsi/deepseek-harness-adapter, then add the .tgz through the Harness profile plugin installer; commands

The pi and OpenCode adapters ship as in-process integrations, so their install scripts write a host-loaded extension or plugin plus their own config, and do not configure a proxy or gateway.

Released under the MIT License.