Presentation state for the traditional tab-based editor shell.
This value coordinates focused owners for sidebar, agent-surface, input, and existing independent transient lifecycles. Effects and Editor-root transitions remain in their focused workflows and handlers.
Summary
Functions
Acknowledges the current notice.
Activates or replaces an inline ask.
Activates or replaces an inline edit.
Advances only the matching navigation flash generation.
Advances to the next missing-tool prompt.
Advances only the matching yank flash generation.
Returns the agent presentation cache.
Returns the focused agent-surface owner.
Begins a new space-leader generation.
Begins a hidden which-key lifecycle generation.
Blurs the shell-owned bottom panel.
Returns the bottom panel state.
Cancels an inline ask and returns its session pid.
Cancels an inline edit and returns its session pid.
Cancels only the navigation flash.
Cancels only the yank flash.
Returns the renderer-authored click-region value.
Closes the Git status sidebar and its paired TUI state.
Closes a completed modal.
Closes the BEAM Observatory sidebar.
Completes a matching Observatory refresh and installs the next timer.
Dismisses the current Git toast.
Dismisses a Git toast only when its identity still matches.
Dismisses the hover popup.
Dismisses a canceled modal.
Dismisses the current notice.
Dismisses signature help through its value owner.
Dismisses stale completion using the now-active tab id.
Dismisses which-key through its value owner.
Queues a missing tool once.
Expires a matching Observatory refresh token.
Expires only the matching space-leader generation.
Returns the git status panel data, or nil.
Returns the TUI-only git status view state, or nil.
Returns the hover popup state, or nil when not showing.
Returns the inline ask store.
Returns the inline edit store.
Returns Traditional input state.
Shows or dismisses the Observatory process inspection.
Installs an exact bottom-panel value.
Installs one already-correlated click-region value.
Installs both click-region sets from one render.
Records the current space-leader timer.
Installs an exact tab-bar value or clears it with nil.
Installs the configured missing-tool prompt suppression policy.
Returns the active modal overlay value (:none when no modal is open).
Returns the modeline command under a rendered column.
Cycles to the next signature through its value owner.
Moves which-key to the next page.
Returns the BEAM Observatory lifecycle value.
Returns true when the BEAM Observatory sidebar is visible.
Opens an exact modal value through the conflict-sticky transition.
Opens and selects the BEAM Observatory sidebar.
Cycles to the previous signature through its value owner.
Moves which-key to the previous page.
Advances the which-key leader prefix.
Publishes a protocol-independent Git toast.
Applies the notice publish transition.
Records completion trigger lifecycle with explicit active-tab context.
Records a Git-toast timer for the matching identity.
Records only the matching navigation flash timer.
Records a notice timer for the matching notice identity.
Records a which-key timer for the matching generation.
Records only the matching yank flash timer.
Replaces the agent presentation cache.
Replaces the Git status panel through the sidebar owner.
Replaces the TUI-only Git status view state.
Replaces an inline ask after a leaf transition.
Replaces an inline edit after a leaf transition.
Replaces only the navigation flash.
Replaces Observatory data without changing refresh correlation.
Replaces tool-prompt decisions and pending queue atomically.
Replaces only the yank flash.
Resets all renderer-authored click regions.
Resets the current space-leader window.
Retires every exact reference to a dead buffer from the Traditional tab bar.
Reveals only the matching which-key generation.
Selects the active native sidebar id.
Shows newly produced hover content, replacing prior content.
Shows newly produced signature-help content.
Returns the active native sidebar id.
Returns the focused sidebar aggregate.
Returns whether the space-leader window is pending.
Returns the current space-leader timer handle.
Suppresses hover and signature help below a higher interactive surface.
Returns the tab bar state, or nil.
Returns the tab-bar command under a rendered cell.
Times out a matching auto-dismiss Git toast.
Applies a matching notice timeout.
Returns whether a tool was declined or is already queued.
Returns the focused tool-prompt owner.
Transitions to an exact modal value unconditionally.
Updates the active completion value.
Returns the which-key popup state.
Types
@type git_status_panel() :: MingaEditor.GitStatus.Panel.t()
@type git_status_tui_state() :: MingaEditor.Shell.Traditional.Sidebars.git_status_tui_state()
@type t() :: %MingaEditor.Shell.Traditional.State{ agent_surfaces: MingaEditor.Shell.Traditional.AgentSurfaces.t(), bottom_panel: MingaEditor.BottomPanel.t(), flashes: MingaEditor.Shell.Traditional.Flashes.t(), git_toast: MingaEditor.Shell.Traditional.GitToast.t(), hover_popup: MingaEditor.HoverPopup.t() | nil, input: MingaEditor.Shell.Traditional.InputState.t(), modal: MingaEditor.State.ModalOverlay.t(), notice: MingaEditor.Shell.Traditional.Notice.t(), sidebars: MingaEditor.Shell.Traditional.Sidebars.t(), signature_help: MingaEditor.SignatureHelp.t() | nil, tab_bar: MingaEditor.State.TabBar.t() | nil, tool_prompts: MingaEditor.Shell.Traditional.ToolPrompts.t(), whichkey: MingaEditor.State.WhichKey.t() }
@type tab_bar_click_region() :: MingaEditor.Shell.Traditional.ClickRegions.tab_bar_region()
@type tab_bar_command() :: MingaEditor.Shell.Traditional.ClickRegions.tab_bar_command()
Functions
Acknowledges the current notice.
@spec activate_inline_ask(t(), MingaEditor.State.InlineAsk.t()) :: t()
Activates or replaces an inline ask.
@spec activate_inline_edit(t(), MingaEditor.State.InlineEdit.t()) :: t()
Activates or replaces an inline edit.
Advances to the next missing-tool prompt.
@spec advance_yank_flash(t(), non_neg_integer()) :: {:continue | :done | :stale, t()}
Advances only the matching yank flash generation.
@spec agent(t()) :: MingaEditor.State.Agent.t()
Returns the agent presentation cache.
@spec agent_surfaces(t()) :: MingaEditor.Shell.Traditional.AgentSurfaces.t()
Returns the focused agent-surface owner.
@spec begin_space_leader(t()) :: {MingaEditor.Shell.Traditional.SpaceLeader.generation(), t()}
Begins a new space-leader generation.
@spec begin_whichkey(t(), Minga.Keymap.Bindings.node_t(), [String.t()]) :: t()
Begins a hidden which-key lifecycle generation.
Blurs the shell-owned bottom panel.
@spec bottom_panel(t()) :: MingaEditor.BottomPanel.t()
Returns the bottom panel state.
Cancels an inline ask and returns its session pid.
Cancels an inline edit and returns its session pid.
Cancels only the yank flash.
@spec click_regions(t()) :: MingaEditor.Shell.Traditional.ClickRegions.t()
Returns the renderer-authored click-region value.
Closes the Git status sidebar and its paired TUI state.
Closes a completed modal.
Closes the BEAM Observatory sidebar.
@spec complete_observatory_refresh( t(), reference(), MingaEditor.Observatory.Data.t(), MingaEditor.Shell.Traditional.Observatory.timer() ) :: {:accepted | :stale, t()}
Completes a matching Observatory refresh and installs the next timer.
Dismisses the current Git toast.
@spec dismiss_git_toast(t(), MingaEditor.Shell.Traditional.GitToast.id()) :: t()
Dismisses a Git toast only when its identity still matches.
Dismisses the hover popup.
Dismisses a canceled modal.
Dismisses the current notice.
Dismisses signature help through its value owner.
@spec dismiss_stale_modal_completion(t(), MingaEditor.State.Tab.id() | nil) :: t()
Dismisses stale completion using the now-active tab id.
Dismisses which-key through its value owner.
Queues a missing tool once.
Expires a matching Observatory refresh token.
@spec expire_space_leader(t(), MingaEditor.Shell.Traditional.SpaceLeader.generation()) :: {:expired | :stale, t()}
Expires only the matching space-leader generation.
@spec git_status_panel(t()) :: git_status_panel() | nil
Returns the git status panel data, or nil.
@spec git_status_tui_state(t()) :: git_status_tui_state() | nil
Returns the TUI-only git status view state, or nil.
@spec hover_popup(t()) :: MingaEditor.HoverPopup.t() | nil
Returns the hover popup state, or nil when not showing.
@spec inline_asks(t()) :: MingaEditor.State.InlineAsk.store()
Returns the inline ask store.
@spec inline_edits(t()) :: MingaEditor.State.InlineEdit.store()
Returns the inline edit store.
@spec input(t()) :: MingaEditor.Shell.Traditional.InputState.t()
Returns Traditional input state.
@spec inspect_observatory(t(), MingaEditor.Observatory.Inspection.t() | nil) :: t()
Shows or dismisses the Observatory process inspection.
@spec install_bottom_panel(t(), MingaEditor.BottomPanel.t()) :: t()
Installs an exact bottom-panel value.
@spec install_click_regions(t(), MingaEditor.Shell.Traditional.ClickRegions.t()) :: t()
Installs one already-correlated click-region value.
@spec install_click_regions( t(), [MingaEditor.Shell.Traditional.Modeline.click_region()], [ MingaEditor.Shell.Traditional.ClickRegions.tab_bar_region() ] ) :: t()
Installs both click-region sets from one render.
@spec install_space_leader_timer( t(), MingaEditor.Shell.Traditional.SpaceLeader.generation(), reference() ) :: t()
Records the current space-leader timer.
@spec install_tab_bar(t(), MingaEditor.State.TabBar.t() | nil) :: t()
Installs an exact tab-bar value or clears it with nil.
Installs the configured missing-tool prompt suppression policy.
@spec modal(t()) :: MingaEditor.State.ModalOverlay.t()
Returns the active modal overlay value (:none when no modal is open).
@spec modeline_command_at(t(), non_neg_integer()) :: atom() | nil
Returns the modeline command under a rendered column.
Cycles to the next signature through its value owner.
Moves which-key to the next page.
@spec observatory(t()) :: MingaEditor.Shell.Traditional.Observatory.t()
Returns the BEAM Observatory lifecycle value.
Returns true when the BEAM Observatory sidebar is visible.
@spec open_modal(t(), MingaEditor.State.ModalOverlay.active()) :: t()
Opens an exact modal value through the conflict-sticky transition.
@spec open_observatory(t(), MingaEditor.Shell.Traditional.Observatory.timer() | nil) :: t()
Opens and selects the BEAM Observatory sidebar.
Cycles to the previous signature through its value owner.
Moves which-key to the previous page.
@spec progress_whichkey(t(), Minga.Keymap.Bindings.node_t(), [String.t()]) :: t()
Advances the which-key leader prefix.
@spec publish_git_toast( t(), String.t(), MingaEditor.Shell.Traditional.GitToast.level(), MingaEditor.Shell.Traditional.GitToast.action() ) :: t()
Publishes a protocol-independent Git toast.
Applies the notice publish transition.
@spec put_modal_completion_trigger( t(), MingaEditor.CompletionTrigger.t(), MingaEditor.State.Tab.id() | nil ) :: t()
Records completion trigger lifecycle with explicit active-tab context.
@spec record_git_toast_timer( t(), MingaEditor.Shell.Traditional.GitToast.id(), reference() ) :: t()
Records a Git-toast timer for the matching identity.
@spec record_notice_timer(t(), MingaEditor.Shell.Traditional.Notice.id(), reference()) :: t()
Records a notice timer for the matching notice identity.
@spec record_whichkey_timer(t(), MingaEditor.State.WhichKey.generation(), reference()) :: t()
Records a which-key timer for the matching generation.
@spec record_yank_flash_timer(t(), non_neg_integer(), reference()) :: t()
Records only the matching yank flash timer.
@spec replace_agent(t(), MingaEditor.State.Agent.t()) :: t()
Replaces the agent presentation cache.
@spec replace_git_status_panel(t(), git_status_panel() | nil) :: t()
Replaces the Git status panel through the sidebar owner.
@spec replace_git_status_tui_state(t(), git_status_tui_state() | nil) :: t()
Replaces the TUI-only Git status view state.
@spec replace_inline_ask(t(), MingaEditor.State.InlineAsk.t()) :: t()
Replaces an inline ask after a leaf transition.
@spec replace_inline_edit(t(), MingaEditor.State.InlineEdit.t()) :: t()
Replaces an inline edit after a leaf transition.
@spec replace_observatory_data(t(), MingaEditor.Observatory.Data.t() | nil) :: t()
Replaces Observatory data without changing refresh correlation.
Replaces tool-prompt decisions and pending queue atomically.
@spec replace_yank_flash( t(), pid(), MingaEditor.Shell.Traditional.YankFlash.position(), MingaEditor.Shell.Traditional.YankFlash.position(), MingaEditor.Shell.Traditional.YankFlash.range_type() ) :: t()
Replaces only the yank flash.
Resets all renderer-authored click regions.
Resets the current space-leader window.
Retires every exact reference to a dead buffer from the Traditional tab bar.
@spec reveal_whichkey(t(), MingaEditor.State.WhichKey.generation()) :: t()
Reveals only the matching which-key generation.
Selects the active native sidebar id.
@spec show_hover_popup(t(), MingaEditor.HoverPopup.t()) :: t()
Shows newly produced hover content, replacing prior content.
@spec show_signature_help(t(), MingaEditor.SignatureHelp.t()) :: t()
Shows newly produced signature-help content.
Returns the active native sidebar id.
@spec sidebars(t()) :: MingaEditor.Shell.Traditional.Sidebars.t()
Returns the focused sidebar aggregate.
Returns whether the space-leader window is pending.
Returns the current space-leader timer handle.
Suppresses hover and signature help below a higher interactive surface.
@spec tab_bar(t()) :: MingaEditor.State.TabBar.t() | nil
Returns the tab bar state, or nil.
@spec tab_bar_command_at(t(), non_neg_integer(), non_neg_integer()) :: tab_bar_command() | nil
Returns the tab-bar command under a rendered cell.
@spec timeout_git_toast(t(), MingaEditor.Shell.Traditional.GitToast.id()) :: t()
Times out a matching auto-dismiss Git toast.
@spec timeout_notice(t(), MingaEditor.Shell.Traditional.Notice.id()) :: t()
Applies a matching notice timeout.
Returns whether a tool was declined or is already queued.
@spec tool_prompts(t()) :: MingaEditor.Shell.Traditional.ToolPrompts.t()
Returns the focused tool-prompt owner.
@spec transition_modal(t(), MingaEditor.State.ModalOverlay.active()) :: t()
Transitions to an exact modal value unconditionally.
@spec update_modal_completion(t(), (Minga.Editing.Completion.t() -> Minga.Editing.Completion.t())) :: t()
Updates the active completion value.
@spec whichkey(t()) :: MingaEditor.State.WhichKey.t()
Returns the which-key popup state.