feat: add --output-format json flag to goose run command (#5525)

Signed-off-by: sheikhlimon <sheikhlimon404@gmail.com>
Signed-off-by: Sheikh Limon <sheikhlimon404@gmail.com>
This commit is contained in:
Sheikh Limon
2025-11-04 22:33:17 +06:00
committed by GitHub
parent 5b93ee587f
commit d4a7bd39be
5 changed files with 131 additions and 11 deletions
@@ -225,7 +225,17 @@ where
SessionType::Hidden,
)
.await?;
let mut cli_session = CliSession::new(agent, session.id, false, None, None, None, None).await;
let mut cli_session = CliSession::new(
agent,
session.id,
false,
None,
None,
None,
None,
"text".to_string(),
)
.await;
let mut error = None;
for message in &messages {