Install dependencies before running the development TUI:
pnpm installType-check the source:
pnpm exec tsc --noEmitRun the TUI directly from TypeScript source:
pnpm devDevelopment smoke test:
- Type
helloand press Enter. Expected:helloechoes asyou typed: hello. - Type
/connectand press Enter. Expected: the Settings screen replaces the prompt, with the Integration tab active showing LastFm and Spotify rows. - Press
Spaceon a row. Expected: a spinner while connecting, then a greenConnected. - Press
Esc. Expected: the screen closes and the prompt returns. - Type
exitand press Enter. Expected: the process exits cleanly. - Run
pnpm devagain and pressCtrl+C. Expected: the process exits cleanly.
Compile the TypeScript source into dist/:
pnpm buildExpected: the command exits 0 and creates executable dist/cli.js.
Run the built output:
pnpm startProduction smoke test:
- Type
helloand press Enter. Expected:helloechoes asyou typed: hello. - Type
/connectand press Enter. Expected: the Settings screen replaces the prompt, with the Integration tab active showing LastFm and Spotify rows. - Press
Spaceon a row. Expected: a spinner while connecting, then a greenConnected. - Press
Esc. Expected: the screen closes and the prompt returns. - Type
exitand press Enter. Expected: the process exits cleanly. - Run
pnpm startagain and pressCtrl+C. Expected: the process exits cleanly.