fix: add read_stderr stub to Windows AgentServerLogs

This commit is contained in:
Nathan Flurry 2026-01-29 07:51:11 -08:00
parent 0faa608822
commit 7475760bee

View file

@ -2,6 +2,7 @@ use std::fs::OpenOptions;
use std::path::{Path, PathBuf};
use sandbox_agent_error::SandboxError;
use sandbox_agent_universal_agent_schema::StderrOutput;
use time::{Duration, OffsetDateTime};
const LOG_RETENTION_DAYS: i64 = 7;
@ -76,4 +77,10 @@ impl AgentServerLogs {
Ok(())
}
/// Read stderr output from the agent's log file.
/// Windows stub - returns None as stderr capture is not implemented.
pub fn read_stderr(&self) -> Option<StderrOutput> {
None
}
}