Synced from monorepo
Synced from monorepo Changes: - Workspace task snapshots only list incomplete backgrounded tasks - Quiet auth, LSP, and config warnings in the shell - Fix observability attributes for warm store errors, restore setup, remote tools, and preview denials - Fail closed when soak metrics are missing - Run plan-mode exit last in mixed tool batches - Allow /loop to store prompts that can terminate the loop - Make subagent maximum nesting depth configurable - Security: apply sandbox profile to the leader process that executes tools Source-Revision: 1adcd1f477870e4a97bacbd6be78c8a3bfbac46d
This commit is contained in:
parent
b41c75a578
commit
02d9359435
96 changed files with 2346 additions and 351 deletions
|
|
@ -11,7 +11,9 @@ use super::session_title_resolve::worktree_resume_failure_message;
|
|||
#[allow(unused_imports)]
|
||||
use super::{agent, dispatch};
|
||||
pub use helpers::ConversationsPartial;
|
||||
pub(super) use helpers::parse_session_load_running_prompt_id;
|
||||
pub(super) use helpers::{
|
||||
parse_session_load_running_prompt_id, parse_session_scheduler_background_loops,
|
||||
};
|
||||
pub(crate) use helpers::{
|
||||
EffectMeta, RestoreProgressMsg, SessionFlags, persist_permission_mode_and_notify,
|
||||
persist_setting, sanitize_user_error,
|
||||
|
|
@ -199,6 +201,9 @@ pub(crate) fn execute(
|
|||
agent_id,
|
||||
session_id: resp.session_id,
|
||||
models: resp.models,
|
||||
scheduler_background_loops: parse_session_scheduler_background_loops(
|
||||
resp.meta.as_ref(),
|
||||
),
|
||||
}
|
||||
}
|
||||
Err(e) => {
|
||||
|
|
@ -493,6 +498,9 @@ pub(crate) fn execute(
|
|||
worktree_path: worktree_root,
|
||||
session_cwd,
|
||||
models: resp.models,
|
||||
scheduler_background_loops: parse_session_scheduler_background_loops(
|
||||
resp.meta.as_ref(),
|
||||
),
|
||||
}
|
||||
}
|
||||
Err(e) => {
|
||||
|
|
@ -574,6 +582,9 @@ pub(crate) fn execute(
|
|||
restore_summary,
|
||||
restore_degree,
|
||||
running_prompt_id,
|
||||
scheduler_background_loops: parse_session_scheduler_background_loops(
|
||||
resp.meta.as_ref(),
|
||||
),
|
||||
}
|
||||
}
|
||||
Err(e) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue