Skip to content

fix: keep CLI prompts visible before upstream config#10

Merged
cluic merged 1 commit into
mainfrom
cluic/fix-cli-prompt-warning
May 23, 2026
Merged

fix: keep CLI prompts visible before upstream config#10
cluic merged 1 commit into
mainfrom
cluic/fix-cli-prompt-warning

Conversation

@cluic

@cluic cluic commented May 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • move the default capture path into a SQLite-free module so crp does not import node:sqlite before it needs capture support
  • keep interactive crp init and crp start prompts visible when upstream settings are missing
  • add CLI regression coverage for check, init, and start startup paths

Testing

  • npm test
  • manual TTY repro: env HOME="$(mktemp -d -t crp_tty_init)" node node/bin/crp.mjs init
  • manual TTY repro: env HOME="$(mktemp -d -t crp_tty_start)" node node/bin/crp.mjs start

@cluic cluic merged commit 38a0cfd into main May 23, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant