This commit is contained in:
2026-07-09 07:25:14 +02:00
parent 230e828b81
commit a930537207
19 changed files with 762 additions and 2 deletions
@@ -72,6 +72,8 @@ pub struct StepContext {
/// Present in subagent sessions: reports read files to this session's job on the parent
/// board. `None` for root sessions (nothing to report to).
pub context_reporter: Option<Arc<dyn ContextReporter>>,
/// Language-server diagnostics source shared by the session's edit/write tool calls.
pub diagnostics: Option<Arc<dyn crate::lsp::DiagnosticsSource>>,
}
struct FlushTracker {
@@ -522,6 +524,7 @@ impl<'a> Run<'a> {
metadata: metadata_sink,
spawner: self.ctx.spawner.clone(),
context_reporter: self.ctx.context_reporter.clone(),
diagnostics: self.ctx.diagnostics.clone(),
};
let result = tokio::select! {