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
@@ -192,7 +192,7 @@ use crate::{
|
||||
settings_view::{flags, SettingsSection},
|
||||
terminal::view::inline_banner::{PromptSuggestionsEvent, PromptSuggestionsView},
|
||||
ui_components::{blended_colors, icons::Icon},
|
||||
user_config::WarpConfig,
|
||||
user_config::GalaxyConfig,
|
||||
util::bindings::{self, CustomAction},
|
||||
util::image::MAX_IMAGE_COUNT_FOR_QUERY,
|
||||
view_components::{DismissibleToast, ToastFlavor},
|
||||
@@ -268,7 +268,7 @@ use galaxy_core::{
|
||||
use galaxy_editor::editor::NavigationKey;
|
||||
use galaxy_util::path::ShellFamily;
|
||||
use galaxyui::{
|
||||
accessibility::{AccessibilityContent, ActionAccessibilityContent, WarpA11yRole},
|
||||
accessibility::{AccessibilityContent, ActionAccessibilityContent, GalaxyA11yRole},
|
||||
clipboard::{ClipboardContent, ImageData},
|
||||
clipboard_utils::CLIPBOARD_IMAGE_MIME_TYPES,
|
||||
color::ColorU,
|
||||
@@ -2652,7 +2652,7 @@ impl Input {
|
||||
.app_workflows()
|
||||
.cloned()
|
||||
.collect_vec();
|
||||
let local_user_workflows = WarpConfig::as_ref(ctx).local_user_workflows().clone();
|
||||
let local_user_workflows = GalaxyConfig::as_ref(ctx).local_user_workflows().clone();
|
||||
|
||||
let workflows_search_view = ctx.add_typed_action_view(|ctx| {
|
||||
workflows::CategoriesView::new(local_user_workflows, app_workflows, ctx)
|
||||
@@ -6677,7 +6677,7 @@ impl Input {
|
||||
ctx.emit_a11y_content(AccessibilityContent::new(
|
||||
accessibility_text,
|
||||
"Press shift-tab to select the next workflow argument",
|
||||
WarpA11yRole::UserAction,
|
||||
GalaxyA11yRole::UserAction,
|
||||
));
|
||||
|
||||
// Only highlight an argument and show enum suggestions if history suggestions are not active
|
||||
@@ -7029,7 +7029,7 @@ impl Input {
|
||||
|
||||
ctx.emit_a11y_content(AccessibilityContent::new_without_help(
|
||||
format!("Executed: {command}"),
|
||||
WarpA11yRole::UserAction,
|
||||
GalaxyA11yRole::UserAction,
|
||||
));
|
||||
}
|
||||
InputSuggestionsEvent::CloseSuggestion {
|
||||
@@ -11164,7 +11164,7 @@ impl Input {
|
||||
if let Some(a11y_text) = self.selected_workflow_a11y_text(ctx) {
|
||||
ctx.emit_a11y_content(AccessibilityContent::new_without_help(
|
||||
a11y_text,
|
||||
WarpA11yRole::UserAction,
|
||||
GalaxyA11yRole::UserAction,
|
||||
));
|
||||
}
|
||||
} else {
|
||||
@@ -11246,7 +11246,7 @@ impl Input {
|
||||
if trigger == CommandXRayTrigger::Keystroke {
|
||||
ctx.emit_a11y_content(AccessibilityContent::new_without_help(
|
||||
description.a11y_text(),
|
||||
WarpA11yRole::UserAction,
|
||||
GalaxyA11yRole::UserAction,
|
||||
));
|
||||
}
|
||||
ctx.notify();
|
||||
@@ -13883,7 +13883,7 @@ impl TypedActionView for Input {
|
||||
INPUT_A11Y_LABEL,
|
||||
// TODO (a11y) use bindings from user settings
|
||||
INPUT_A11Y_HELPER,
|
||||
WarpA11yRole::TextareaRole,
|
||||
GalaxyA11yRole::TextareaRole,
|
||||
))
|
||||
}
|
||||
_ => ActionAccessibilityContent::Empty,
|
||||
@@ -14082,7 +14082,7 @@ impl View for Input {
|
||||
INPUT_A11Y_LABEL,
|
||||
// TODO (a11y) use bindings from user settings
|
||||
INPUT_A11Y_HELPER,
|
||||
WarpA11yRole::TextareaRole,
|
||||
GalaxyA11yRole::TextareaRole,
|
||||
))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user