Synced from monorepo
Changes: - Stop hooks for session lifecycle - Add x.ai/session/state and x.ai/session/import ACP methods - Deny-and-continue for auto-mode classifier blocks with denial limits - Drop codebase-upload from dhat soak test - scheduler_create upsert via task_id; retire one-shot tasks - Clipboard: copy file fallback + honest toasts for SSH/Apple Terminal - Polarity-safe syntax colors in minimal mode - Auto mode classifies unvetted env prefixes instead of hard-prompting - Add GROK_CLIPBOARD_NO_OSC52 kill switch to force OSC 52 off
This commit is contained in:
parent
7cfcb20d2b
commit
ba76b0a683
143 changed files with 9465 additions and 3419 deletions
|
|
@ -541,7 +541,25 @@ impl AgentView {
|
|||
return InputOutcome::Changed;
|
||||
}
|
||||
}
|
||||
TaskEntryId::Scheduled(_) => {}
|
||||
TaskEntryId::Scheduled(tid) => {
|
||||
if let Some(sid) = self
|
||||
.session
|
||||
.scheduled_tasks
|
||||
.get(tid)
|
||||
.and_then(|info| info.last_subagent_id.clone())
|
||||
&& let Some(child_sid) = self
|
||||
.subagent_sessions
|
||||
.iter()
|
||||
.find(|(_, info)| {
|
||||
info.subagent_id.as_ref() == sid.as_str()
|
||||
})
|
||||
.map(|(k, _)| k.clone())
|
||||
&& self.subagent_views.contains_key(&child_sid)
|
||||
{
|
||||
self.open_subagent_fullscreen(child_sid);
|
||||
return InputOutcome::Changed;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue