Module reducer

Module reducer 

Source

ModulesΒ§

browsers πŸ”’
Pure functional core of the host reducer.
drag πŸ”’
Drag state (Phase H.3) reducer handlers. Extracted from reducer/mod.rs in task #182 PR-F-2 for navigability.
panes πŸ”’
Browser pane lifecycle (Phase H.1) reducer handlers. Extracted from reducer/mod.rs in task #182 PR-F-2 for navigability.
pool πŸ”’
Pool state (Phase H.4) reducer handlers. Extracted from reducer/mod.rs in task #182 PR-F-2 for navigability.
quit πŸ”’
Quit lifecycle (Phase H.5) reducer handlers. Extracted from reducer/mod.rs in task #182 PR-F-2 for navigability.
top_level πŸ”’
Top-level window creation runner (Phase H.6) reducer handlers. Extracted from reducer/mod.rs in task #182 PR-F-2 for navigability.

StructsΒ§

DispatchOutput
Output bundle returned from the reducer.
HostState
State owned by the host reducer.

EnumsΒ§

DragOutcome
Outcome of an ended drag session.
HostCommand
Commands handled by the host reducer.
HostEvent
Events emitted by the host reducer.
HostLifecyclePhase
Lifecycle phase of the host reducer. Mirrors the launcher and srv reducers’ phase enum.
PoolLeaveReason
Reason a pool window left the pool.
RegisterResult
Outcome of TryRegisterBrowserPaneLive. Returned via DispatchOutput::browser_pane_register_result. Same three-way semantics as the pre-Phase-H pane::lifecycle::PaneStateMachine::try_register_live returned β€” caller decides whether to start a fresh CEF create, re-navigate the existing browser, or reject.

ConstantsΒ§

TOP_LEVEL_CREATION_HISTORY_CAP πŸ”’
Capacity of TopLevelCreationState.history ring buffer. Configurable via ~/.agentmux/config.toml [host.reducer] once H.5 (config) lands; hard-coded for PR #1.

StaticsΒ§

BROWSER_PANE_LABEL_SEQ πŸ”’

FunctionsΒ§

emit_error πŸ”’
handle_dequeue_pending_window_creation πŸ”’
handle_enqueue_pending_window_creation πŸ”’
handle_set_window_opacity πŸ”’
next_browser_pane_label πŸ”’
update