Skip to content

Commit 2777e39

Browse files
feat(owpenbot): refactor CLI to non-interactive with JSON output (anomalyco#307)
- Remove @clack/prompts dependency and all interactive wizard code - Add global --json flag for machine-parseable output - Add 'config get [key]' and 'config set <key> <value>' subcommands - Add 'health' command (exit 0 if healthy, 1 if not) - Add --json support to 'status', 'whatsapp status', 'telegram status' - Add 'whatsapp qr [--format ascii|base64]' for non-interactive QR - Add 'pairing list --json' with structured output - Keep 'start', 'pairing approve/deny', 'whatsapp login/logout' working - Maintain backwards compatibility with legacy command aliases - All commands work without TTY
1 parent b3aef47 commit 2777e39

3 files changed

Lines changed: 482 additions & 458 deletions

File tree

‎packages/owpenbot/package.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"test:npx": "node scripts/test-npx.mjs"
4141
},
4242
"dependencies": {
43-
"@clack/prompts": "^0.11.0",
4443
"@opencode-ai/sdk": "^1.1.31",
4544
"@whiskeysockets/baileys": "7.0.0-rc.9",
4645
"better-sqlite3": "^11.7.0",

0 commit comments

Comments
 (0)