@lmliheng/penguin-cli
v0.3.8
Published
Adelie CLI: interactive REPL and single-task runner over @lmliheng/penguin-core.
Readme
@lmliheng/penguin-cli
The Adelie command line. Installs the penguin command: an interactive REPL, a one-shot task runner, model / vault configuration, and the launcher for the Web service.
npm install -g @lmliheng/penguin-cli # requires Node >= 24penguin web # start the Web service and open http://127.0.0.1:4000
penguin server # same service, headless
penguin config model add --model-id deepseek-v4-pro --api-key sk-... --set-default
penguin run -m "Create hello.txt containing Hello, Penguin" # one Task, then exit
penguin chat # REPL: /compact, /clear, /exit, Ctrl-C interrupts
penguin chat --resume # resume the latest sessionTool calls go through an approval gate — --approve allow-all (default) | deny-all | read-only | always-ask. Data lives under ~/.adelie/data (ADELIE_HOME, the pre-rename PENGUIN_HOME, or --root); model credentials come from the Project config or provider env vars (e.g. DEEPSEEK_API_KEY).
Prefer a one-line install with a bundled Node runtime? See Quickstart → CLI and Web App.
Documentation
Development
pnpm penguin <args> # run from source (repo root, via tsx)
pnpm --filter @lmliheng/penguin-cli build # tsup → dist/index.js (the penguin bin)
pnpm --filter @lmliheng/penguin-cli typecheck
pnpm --filter @lmliheng/penguin-cli testPart of Adelie · Apache-2.0
