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
@@ -122,7 +122,7 @@ use galaxyui::text::TextBuffer;
|
||||
use galaxyui::text_layout::TextStyle;
|
||||
use galaxyui::windowing::WindowManager;
|
||||
use galaxyui::{
|
||||
accessibility::{AccessibilityContent, ActionAccessibilityContent, WarpA11yRole},
|
||||
accessibility::{AccessibilityContent, ActionAccessibilityContent, GalaxyA11yRole},
|
||||
fonts::Cache as FontCache,
|
||||
keymap::{EditableBinding, FixedBinding},
|
||||
AppContext, Element, Entity, ModelAsRef, ModelHandle, View, ViewContext, WindowId,
|
||||
@@ -8368,7 +8368,7 @@ impl TypedActionView for EditorView {
|
||||
) -> ActionAccessibilityContent {
|
||||
match action {
|
||||
EditorAction::UserInsert(text) => ActionAccessibilityContent::Custom(
|
||||
AccessibilityContent::new_without_help(text.to_string(), WarpA11yRole::UserAction),
|
||||
AccessibilityContent::new_without_help(text.to_string(), GalaxyA11yRole::UserAction),
|
||||
),
|
||||
EditorAction::SelectLeft
|
||||
| EditorAction::SelectToLineEnd
|
||||
@@ -8403,7 +8403,7 @@ impl TypedActionView for EditorView {
|
||||
EditorAction::Paste => {
|
||||
ActionAccessibilityContent::Custom(AccessibilityContent::new_without_help(
|
||||
format!("Pasting: {}", self.clipboard_content(ctx)),
|
||||
WarpA11yRole::UserAction,
|
||||
GalaxyA11yRole::UserAction,
|
||||
))
|
||||
}
|
||||
_ => ActionAccessibilityContent::from_debug(),
|
||||
|
||||
@@ -27,7 +27,7 @@ use std::{
|
||||
};
|
||||
|
||||
use galaxyui::{
|
||||
accessibility::{AccessibilityContent, WarpA11yRole},
|
||||
accessibility::{AccessibilityContent, GalaxyA11yRole},
|
||||
text_layout::TextStyle,
|
||||
AppContext, Entity, ModelAsRef, ModelContext, ModelHandle,
|
||||
};
|
||||
@@ -505,7 +505,7 @@ impl EditorModel {
|
||||
let delta = &text[start.as_usize()..end.as_usize()];
|
||||
match (was_selecting, is_selecting) {
|
||||
(false, false) => {
|
||||
AccessibilityContent::new_without_help(delta, WarpA11yRole::UserAction)
|
||||
AccessibilityContent::new_without_help(delta, GalaxyA11yRole::UserAction)
|
||||
}
|
||||
(_, true) => {
|
||||
// Note that Range is start <= x < end, and in our case, when deciding what was the action
|
||||
@@ -529,10 +529,10 @@ impl EditorModel {
|
||||
} else {
|
||||
"unselected"
|
||||
};
|
||||
AccessibilityContent::new(delta, format!(", {action}"), WarpA11yRole::UserAction)
|
||||
AccessibilityContent::new(delta, format!(", {action}"), GalaxyA11yRole::UserAction)
|
||||
}
|
||||
(true, false) => {
|
||||
AccessibilityContent::new_without_help("Unselected", WarpA11yRole::UserAction)
|
||||
AccessibilityContent::new_without_help("Unselected", GalaxyA11yRole::UserAction)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2230,7 +2230,7 @@ impl EditorModel {
|
||||
ctx.emit_a11y_content(AccessibilityContent::new(
|
||||
self.selected_text(ctx),
|
||||
", deleted",
|
||||
WarpA11yRole::UserAction,
|
||||
GalaxyA11yRole::UserAction,
|
||||
));
|
||||
self.change_selections(new_selections, ctx);
|
||||
self.insert("", None, ctx);
|
||||
@@ -2254,7 +2254,7 @@ impl EditorModel {
|
||||
ctx.emit_a11y_content(AccessibilityContent::new(
|
||||
self.selected_text(ctx),
|
||||
", deleted",
|
||||
WarpA11yRole::UserAction,
|
||||
GalaxyA11yRole::UserAction,
|
||||
));
|
||||
self.change_selections(new_selections, ctx);
|
||||
self.insert("", None, ctx);
|
||||
|
||||
Reference in New Issue
Block a user