Documentation
¶
Index ¶
Constants ¶
const DefaultTerm = "xterm-256color"
DefaultTerm is the terminal type Warren uses when the daemon is launched without a usable TERM (agent/CI shells often inherit TERM=dumb).
Variables ¶
This section is empty.
Functions ¶
func SanitizeEnvironment ¶
func SanitizeEnvironment()
SanitizeEnvironment removes launcher-only environment semantics that would make Warren terminal sessions behave like non-interactive pipelines: PAGER/GIT_PAGER/GH_PAGER set to cat or empty suppress pagers, a dumb TERM makes TUIs and pagers degrade, and an ambient NO_COLOR disables interactive TUI colors. It mutates the current process environment so ghostline children inherit a real terminal environment; user-specified values are applied afterwards by settings.
Types ¶
type RuntimeMetadata ¶
RuntimeMetadata is the live OS-level foreground process snapshot for one session, rendered into roster snapshots when the runtime adapter supports it.
type RuntimeMetadataProvider ¶
type RuntimeMetadataProvider interface {
Metadata(context.Context, string) (RuntimeMetadata, error)
}
RuntimeMetadataProvider is implemented by runtime adapters that can report foreground process metadata for a session.