WezTerm Codex Status Line
English | 简体中文
Add a bottom status bar for Codex CLI in WezTerm, showing the model, reasoning effort, working directory, Git branch, and token usage.
Documentation · Interactive preview · Configuration guide · Troubleshooting
- Show session information for each Codex pane, with support for multiple concurrent sessions.
- Customize fields, colors, icons, and one- or two-row layouts.
- Track cumulative input, output, cache hit rate, and estimated cost.
- Preview your configuration in the browser, download JSON, and import it locally.
- Read local Codex session logs without making additional model requests.
CODEX | gpt-5.6-sol | high | ~/src/app | main | Ctx 72% left | ↑10M ↓204K | Cache 60% | Cost ~$22.48 | v0.1.2
Installation
With Node.js 20 or later:
npx --yes wezterm-codex-status-line@latest install --no-title-bridge
Or with uv:
uvx wezterm-codex-status-line install --no-title-bridge
Choose either command: npx installs from npm, and uvx installs from PyPI. Windows requires PowerShell 5.1 or later. macOS has not yet been verified on physical hardware; Linux has not yet been verified in a Wayland/X11 desktop environment. See the installation guide for other requirements.
Add the following before return config in your WezTerm configuration:
config.status_update_interval = 500
require("codex_statusline").setup()
Reload your WezTerm configuration, start codex in a pane, and send a message. Session information will appear below that pane.
Configuration
Customize the display in the interactive preview, download the JSON file, and import it:
npx --yes wezterm-codex-status-line@latest configure --from ./codex_statusline_config.json
Reload your WezTerm configuration to apply changes. Settings are saved to ~/.config/wezterm/codex_statusline_config.json by default. You can also pass options to setup({...}). See the configuration guide for details.
Commands
| Command | Purpose |
|---|---|
install |
Install the status bar |
configure |
Edit or import configuration |
preview |
Preview the current configuration in your terminal |
doctor |
Check installation and configuration |
update |
Update the status bar while preserving configuration |
uninstall |
Uninstall the status bar |
To update an existing installation with the latest package:
npx --yes wezterm-codex-status-line@latest update
# Or:
uvx --refresh wezterm-codex-status-line update
See the CLI reference for command options. Before uninstalling, remove the setup() call from your WezTerm configuration and reload it. See updating and uninstalling for details.
Contributing
See CONTRIBUTING.md for build and test instructions.
Acknowledgments
The configuration and preview features were inspired by ccstatusline and CCometixLine.
License
Metadata
Release files for wezterm-codex-status-line 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wezterm_codex_status_line-0.1.2.tar.gz | 67.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wezterm_codex_status_line-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 151.1 kB
Release files / wezterm_codex_status_line-0.1.2.tar.gz
| Download URL | wezterm_codex_status_line-0.1.2.tar.gz |
|---|---|
| Size | 67.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
16cfab5c20b316d25b87020bedb1b97bd79cb00c032ad2b3b620b8937b2611ab
|
|
BLAKE2b-256 checksum How to use checksums |
e83a5f7dea3f5af6c20dcd6749def6c3e06442e700bb38126a9d336ceb71830b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.
Transparency logRelease files / wezterm_codex_status_line-0.1.2-py3-none-any.whl
| Download URL | wezterm_codex_status_line-0.1.2-py3-none-any.whl |
|---|---|
| Size | 84.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
554f1179acb450db7603a1adb35f97e3670080b70082bd0d4d50c9cc545a312c
|
|
BLAKE2b-256 checksum How to use checksums |
0b1e5aeafedca63caab18322944c7310f62432b8fe5e0106002d1ba628ac794d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.
Transparency log