Skip to content

Status bar

The footer uses at most two rows. Every built-in and third-party entry registers on the same mayflyStatus service with a renderer-neutral MayflyStatusNode.

EntryPriorityContent
basic0current model
mode2plan/yolo state
cwd5current working directory
git10branch and change summary
context20context occupancy
title30session title

Entries sort by priority/id within a band. The right band yields first under width pressure. An entry declares row and overflow; lower-priority entries hide when space runs out.

Third-party contribution:

ts
export const inject = ['mayflyStatus']

export function apply(ctx: Context): void {
  ctx.mayflyStatus.register({
    id: 'acme.health',
    priority: 15,
    band: 'right',
  }, { kind: 'text', content: 'healthy', tone: 'success' })
}

Registration follows the Fiber. See plugin status entries.

Preview · v0.1.0-alpha.1