Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Configuration Reference

This table lists every key tx reads from configuration files. Types refer to TOML types.

Defaults

KeyTypeDefaultDescription
providerstringcodexProvider used when starting a new session without a profile. Must match a key under [providers].
profilestringunsetPreferred profile when creating sessions. Must match a key under [profiles].
search_modestringfirst_promptInitial search mode in the TUI. Accepts first_prompt or full_text.

Sessions the indexer marks as unactionable stay hidden from default listings but remain searchable.

Providers ([providers.<name>])

KeyTypeRequiredDescription
binstringExecutable or absolute path.
flagsarray<string>Default arguments passed to the provider.
envarray<string>Environment entries (KEY=value). Supports ${env:VAR} interpolation.
stdin_tostringTemplate describing how to inject captured stdin into the argv list. Requires stdin_mode = "capture_arg".
stdin_modestringDelivery mode: pipe (default) streams stdin; capture_arg passes stdin as an argument.

Snippet Commands ([snippets.pre], [snippets.post])

Values are shell commands executed before or after the provider. They can reference template tokens such as {{session.id}} or {{var:KEY}}.

Wrappers ([wrappers.<name>])

KeyTypeRequiredDescription
shellboolWhen true, invoke the wrapper via /bin/sh -c. Defaults to false.
cmdstring or array<string>Wrapper command. Use a string when shell = true; use an array for argv-style declarations. {{CMD}} expands to the provider command.

Profiles ([profiles.<name>])

KeyTypeRequiredDescription
providerstringProvider key to run.
descriptionstringLabel shown in the TUI preview.
prearray<string>Ordered list of pre-snippet names.
postarray<string>Ordered list of post-snippet names.
wrapstringWrapper name.

Prompt Assembler ([features.pa])

KeyTypeDefaultDescription
enabledboolfalseEnable the integration.
namespacestringpaPrefix applied to virtual profile names.

Derived Values

  • Session log roots for the codex provider live under $CODEX_HOME or fall back to ~/.codex/session[s].
  • Directory paths expand ~ and environment variables using shellexpand with the same rules the runtime uses.

Keys not listed here are ignored. Keep configuration minimal and additive so drop-ins compose cleanly.