feat: add driver runtime manager

This commit is contained in:
t8y2 committed 2026-06-04 23:20:15 +08:00
1 parent a8c08cd7e9
commit a799958328
23 files changed
+1044 -12

No files matched your search

+8
View File
@@ -640,6 +640,14 @@ impl AgentDriverClient {
// Reap the child to avoid zombie processes
let _ = self.child.wait();
}
pub fn pid(&self) -> u32 {
self.child.id()
}
pub fn stderr_tail_snapshot(&self) -> String {
self.stderr_tail.lock().map(|tail| tail.snapshot()).unwrap_or_default()
}
}
pub fn agent_handshake_params(app_version: &str) -> Value {