feat: wait returns on permission request and improve CLI logging

This commit is contained in:
Mohamed Boudra
2026-01-29 12:12:39 +07:00
parent c015fdbef1
commit 7a8841481e
13 changed files with 295 additions and 341 deletions
+1 -7
View File
@@ -84,14 +84,8 @@ export function createCli(): Command {
.option('--tail <n>', 'Show last n entries')
.option('--filter <type>', 'Filter by event type (tools, text, errors, permissions)')
.option('--since <time>', 'Show logs since timestamp')
.option('--json', 'Output in JSON format (only when not following)')
.option('--host <host>', 'Daemon host:port (default: localhost:6767)')
.action((id, options, command) => {
if (options.json && !options.follow) {
command.parent.opts().format = 'json'
}
return withOutput(runLogsCommand)(id, options, command)
})
.action(runLogsCommand)
program
.command('stop')