Synced from monorepo
Changes: - Detect the herdr multiplexer - Mark /gboom as non-production code - Bound peak memory when loading a large session - Add a subagent lifecycle soak bounding threads, fds, and heap - Stream inherited replay to bound fork memory - Copy full plan from plan approval with y - Stop armed signature verification from deleting the managed-deny smoke policy - Add source-tagged terminal version telemetry - Show the UI instantly and fetch models and settings in the background - Session test helpers - computer_reason on the ConversationHistoryDone trailer
This commit is contained in:
parent
47348d13ec
commit
b41c75a578
92 changed files with 9410 additions and 3788 deletions
|
|
@ -20,9 +20,9 @@ use tokio::sync::{mpsc, oneshot};
|
|||
|
||||
use super::coordinator_state::{
|
||||
ActiveChild, BlockingWaiter, BufferedCompletion, ChildRecord, CompletedChild, InternalEvent,
|
||||
ListRequest, MAX_COMPLETED_ENTRIES, PendingChild, ProgressFuture, ProgressTarget, ReplyFuture,
|
||||
TaggedFuture, active_summary, background_at_deadline, background_if_caller_gone,
|
||||
completed_snapshot, completion_summary, sleep_until, workflow_outstanding,
|
||||
ListRequest, PendingChild, ProgressFuture, ProgressTarget, ReplyFuture, TaggedFuture,
|
||||
active_summary, background_at_deadline, background_if_caller_gone, completed_snapshot,
|
||||
completion_summary, sleep_until, workflow_outstanding,
|
||||
};
|
||||
use super::types::{
|
||||
SpawnedSubagentRef, SubagentCancelOutcome, SubagentCancelTarget, SubagentDescribeOutcome,
|
||||
|
|
@ -32,8 +32,8 @@ use super::types::{
|
|||
|
||||
pub use super::coordinator_state::{
|
||||
ChildCompletion, ChildControl, ChildReporter, ChildRunOutput, ChildRunRequest, ChildRunner,
|
||||
CompletionDisposition, CoordinatorConfig, LocalBoxFuture, SendBoxFuture, StartedChild,
|
||||
SubagentProgress,
|
||||
CompletionDisposition, CoordinatorConfig, LocalBoxFuture, MAX_COMPLETED_ENTRIES, SendBoxFuture,
|
||||
StartedChild, SubagentProgress,
|
||||
};
|
||||
|
||||
/// Channel-owned subagent lifecycle actor.
|
||||
|
|
|
|||
|
|
@ -13,7 +13,9 @@ use super::types::{
|
|||
SubagentSnapshotStatus, SubagentValidateTypeOutcome,
|
||||
};
|
||||
|
||||
pub(super) const MAX_COMPLETED_ENTRIES: usize = 1024;
|
||||
/// Cap on retained completed-subagent entries before the oldest are evicted.
|
||||
/// Public so the subagent soak test can assert the coordinator stays bounded.
|
||||
pub const MAX_COMPLETED_ENTRIES: usize = 1024;
|
||||
pub(super) const OUTPUT_UNAVAILABLE_PLACEHOLDER: &str = "[subagent output no longer available]";
|
||||
|
||||
pub type LocalBoxFuture<T> = Pin<Box<dyn Future<Output = T> + 'static>>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue