v1.5.0: Inline subagent panels, Bedrock compaction fixes, context window debug view

New features:
- Inline subagent panels with expand/collapse and click-to-toggle
- /context slash command to inspect bedrock_message_history
- Child-to-parent question routing with auto-answer for subagents
- Subagent token usage and cost merging into parent conversation
- Randomized session-colored user avatar silhouettes

Bug fixes:
- Bedrock: remove orphaned tool_results after compaction
- Bedrock: self-healing exchange lookup for out-of-order streaming
- Bedrock: append continuation prompt when conversation ends with assistant
- Duration sanity check rejects epoch-time artifacts from session restore
- Cache hit rate calculation uses actual total_input_tokens
- Hide "Time to first token" when value is zero

Improvements:
- Demote verbose bedrock-debug logs to debug/trace levels
- Bedrock tool usage counting falls back to action counting
- Remove logout menu item from workspace menu

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ryan Ward
2026-05-21 14:30:04 -05:00
co-authored by Claude Opus 4.6
parent 6f54e2cb30
commit f278e53b7e
22 changed files with 914 additions and 113 deletions
@@ -387,6 +387,15 @@ pub const COST: StaticCommand = StaticCommand {
argument: None,
};
pub const CONTEXT: StaticCommand = StaticCommand {
name: "/context",
description: "Show current context window contents (debug)",
icon_path: "bundled/svg/bar-chart-04.svg",
availability: Availability::AGENT_VIEW.union(Availability::AI_ENABLED),
auto_enter_ai_mode: false,
argument: None,
};
pub const CONVERSATIONS: StaticCommand = StaticCommand {
name: "/conversations",
description: "Open conversation history",
@@ -506,6 +515,7 @@ fn all_commands() -> Vec<StaticCommand> {
ADD_MCP,
ADD_PROMPT.clone(),
ADD_RULE,
CONTEXT,
COST,
FEEDBACK.clone(),
INDEX,