Fix cursor focus and selection in input box, add AWS env var warning box, and remove AWS Bedrock login banner
This commit is contained in:
@@ -113,6 +113,7 @@ impl CanonicalRunState {
|
||||
/// The canonical [`AgentIconFields`] for this state. `None` means no agent icon renders.
|
||||
/// Editing an arm here is the deliberate way to evolve the cross-surface contract.
|
||||
fn expected(&self) -> Option<AgentIconFields> {
|
||||
use CanonicalRunState::*;
|
||||
match self {
|
||||
PlainTerminal => None,
|
||||
LocalOzInProgress => Some(AgentIconFields {
|
||||
@@ -170,6 +171,7 @@ impl CanonicalRunState {
|
||||
|
||||
/// Terminal-view inputs for this state. Every state has a terminal representation.
|
||||
fn terminal_inputs(&self) -> TerminalIconInputs {
|
||||
use CanonicalRunState::*;
|
||||
match self {
|
||||
PlainTerminal => TerminalIconInputs {
|
||||
is_ambient: false,
|
||||
@@ -259,6 +261,7 @@ impl CanonicalRunState {
|
||||
/// Run-card inputs for this state, if it can surface as a run card.
|
||||
/// Cards only exist for cloud/ambient runs; local states return `None`.
|
||||
fn run_inputs(&self) -> Option<(Harness, ConversationStatus, bool)> {
|
||||
use CanonicalRunState::*;
|
||||
match self {
|
||||
CloudOzInProgress => Some((Harness::Oz, ConversationStatus::InProgress, true)),
|
||||
CloudClaudePreDispatch | CloudClaudeInProgress => {
|
||||
|
||||
Reference in New Issue
Block a user