Skip to main content

Module shell_format

Module shell_format 

Source
Expand description

Stateless text primitives shared by shell persistence and reply renderers.

Functionsยง

append_db_schema_hint
Schema lookups are AFT-added trailers, not command output. Both terminal snapshots and completion previews call this after their output size caps.
append_trailing_line
format_seconds
Port of packages/aft-bridge/src/bash-format.ts formatSeconds (lines 3-6).
format_wait_limit
A wait limit in words: whole minutes as minutes, anything else in seconds.