v1.4.0: Auto-compact streaming, Bedrock summarization support, subagent orchestration, and Galaxy rebrand continuation
Major features: - Auto-compact: triggers conversation summarization when context window >= 85%, compacts Bedrock message history to a summary pair, and tracks live context tokens - Bedrock summarization: plumbs `is_summarization` flag through translator/client/response pipeline, handles SummarizeConversation input type, and marks `summarized` in metadata - Session restore: rebuilds bedrock_message_history from persisted task messages via newly-public `convert_proto_message`, preventing empty history on reconnect - Subagent orchestration: adds SubagentQuestion/Answer/CompletionSummary event types, parent-child question routing with depth limits, retry counting, and drain methods - Summarization UI: inline SummarizationView in AI blocks with progress/finished states Refactors: - Rename WarpTheme → GalaxyTheme across ~100 files (rebrand continuation) - Rename warp_home_config_dir → galaxy_home_config_dir and related path functions - Predefined rules: replace "System Defined Rule #N" with descriptive names (e.g. "Correctness Over Speed", "Never Guess") and add lookup helpers - Usage view: replace cumulative input/output token display with live context tokens, cache hit rate calculation, and separate cache read/write stats - Telemetry: remove verbose doc comments, simplify trait definitions - Facts view: simplify delete permission check (always allow local deletion) - Remove warp_managed_paths_watcher.rs (dead code) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
eaa2ddc75e
commit
6f54e2cb30
+10
-10
@@ -14,7 +14,7 @@ use crate::cloud_object::model::persistence::CloudModel;
|
||||
use crate::cloud_object::{GenericStringObjectFormat, JsonObjectType, ObjectType};
|
||||
use crate::drive::export::ExportManager;
|
||||
use crate::drive::items::WarpDriveItemId;
|
||||
use crate::drive::{CloudObjectTypeAndId, OpenWarpDriveObjectArgs, OpenWarpDriveObjectSettings};
|
||||
use crate::drive::{CloudObjectTypeAndId, OpenGalaxyDriveObjectArgs, OpenGalaxyDriveObjectSettings};
|
||||
use crate::experiments::{BlockOnboarding, Experiment};
|
||||
use crate::interval_timer::IntervalTimer;
|
||||
use crate::launch_configs::launch_config;
|
||||
@@ -49,7 +49,7 @@ use crate::terminal::keys_settings::KeysSettings;
|
||||
use crate::terminal::shell::ShellType;
|
||||
use crate::terminal::view::{cell_size_and_padding, TerminalAction};
|
||||
use crate::themes::onboarding_theme_picker_themes;
|
||||
use crate::themes::theme::{AnsiColorIdentifier, Blend, Fill, ThemeKind, WarpThemeConfig};
|
||||
use crate::themes::theme::{AnsiColorIdentifier, Blend, Fill, ThemeKind, GalaxyThemeConfig};
|
||||
use crate::uri::OpenMCPSettingsArgs;
|
||||
use crate::util::bindings::{self, is_binding_pty_compliant};
|
||||
use crate::util::traffic_lights::{traffic_light_data, TrafficLightData, TrafficLightMouseStates};
|
||||
@@ -1133,7 +1133,7 @@ fn open_linear_issue_work_in_new_window(args: &LinearIssueWork, ctx: &mut AppCon
|
||||
});
|
||||
}
|
||||
|
||||
fn open_warp_drive_object(arg: &OpenWarpDriveObjectArgs, ctx: &mut AppContext) {
|
||||
fn open_warp_drive_object(arg: &OpenGalaxyDriveObjectArgs, ctx: &mut AppContext) {
|
||||
match arg.object_type {
|
||||
ObjectType::Notebook => open_new_workspace_with_notebook_open(
|
||||
SyncId::ServerId(arg.server_id),
|
||||
@@ -1158,7 +1158,7 @@ fn display_object_missing_error_in_window(window_id: WindowId, ctx: &mut AppCont
|
||||
|
||||
fn open_new_workspace_with_notebook_open(
|
||||
notebook_id: SyncId,
|
||||
settings: OpenWarpDriveObjectSettings,
|
||||
settings: OpenGalaxyDriveObjectSettings,
|
||||
ctx: &mut AppContext,
|
||||
) {
|
||||
open_new_with_workspace_source(
|
||||
@@ -1172,7 +1172,7 @@ fn open_new_workspace_with_notebook_open(
|
||||
|
||||
fn open_new_workspace_with_workflow_open(
|
||||
workflow_id: SyncId,
|
||||
settings: OpenWarpDriveObjectSettings,
|
||||
settings: OpenGalaxyDriveObjectSettings,
|
||||
ctx: &mut AppContext,
|
||||
) {
|
||||
open_new_with_workspace_source(
|
||||
@@ -1583,11 +1583,11 @@ pub enum NewWorkspaceSource {
|
||||
},
|
||||
NotebookById {
|
||||
id: SyncId,
|
||||
settings: OpenWarpDriveObjectSettings,
|
||||
settings: OpenGalaxyDriveObjectSettings,
|
||||
},
|
||||
WorkflowById {
|
||||
id: SyncId,
|
||||
settings: OpenWarpDriveObjectSettings,
|
||||
settings: OpenGalaxyDriveObjectSettings,
|
||||
},
|
||||
AgentSession {
|
||||
options: Box<NewTerminalOptions>,
|
||||
@@ -2153,7 +2153,7 @@ impl RootView {
|
||||
}
|
||||
|
||||
fn onboarding_theme_kind(theme_name: &str) -> Option<ThemeKind> {
|
||||
WarpThemeConfig::new()
|
||||
GalaxyThemeConfig::new()
|
||||
.theme_items()
|
||||
.find_map(|(kind, theme)| {
|
||||
(theme.name().as_deref() == Some(theme_name)).then(|| kind.clone())
|
||||
@@ -2593,7 +2593,7 @@ impl RootView {
|
||||
|
||||
pub fn open_warp_drive_object_in_existing_window(
|
||||
&mut self,
|
||||
arg: &OpenWarpDriveObjectArgs,
|
||||
arg: &OpenGalaxyDriveObjectArgs,
|
||||
ctx: &mut ViewContext<Self>,
|
||||
) -> bool {
|
||||
if let AuthOnboardingState::Terminal(handle) = &self.auth_onboarding_state {
|
||||
@@ -2856,7 +2856,7 @@ impl RootView {
|
||||
ctx.dispatch_typed_action_for_view(
|
||||
window_id,
|
||||
handle.id(),
|
||||
&WorkspaceAction::OpenWarpDrive,
|
||||
&WorkspaceAction::OpenGalaxyDrive,
|
||||
);
|
||||
ctx.windows().show_window_and_focus_app(window_id);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user