Skip to main content

Terminal dashboard for opentine — visual management console with Textual

Project description

opentine-tui

Terminal management console for opentine agent runs.

Built with Textual.

Install

pip install opentine-tui

Requires opentine >=0.1.1, the first release that ships the harness integration layer the dashboard uses. Until opentine 0.1.1 is published to PyPI, install it from source first:

pip install "opentine @ git+https://github.com/0xcircuitbreaker/opentine.git@main"
pip install opentine-tui

Usage

tine-dashboard
opentine-tui

By default the TUI reads .tine artifacts from .tine_runs. Override that with:

tine-dashboard --runs-dir path/to/.tine_runs
OPENTINE_RUNS_DIR=path/to/.tine_runs tine-dashboard

Layout

┌── Runs ───────┐ ┌── Steps ───────────────┐ ┌── Details ─────────┐
│ a3f8 done     │ │ * think "I'll search"  │ │ Run: a3f8          │
│ b7c1 fail     │ │ > tool search(q="...") │ │ Model: claude      │
│ c9d2 corrupt  │ │ * think "The mass..."  │ │ Steps: 4           │
│               │ │ + done                 │ │ Cost: $0.003       │
│               │ │                        │ │ Duration: 12.3s    │
└──────────────────┘ └──────────────────────────────┘ └─────────────────────┘

Corrupt .tine files remain visible in the run list with their load or integrity error in the details panel.

Keybindings

Key Action
q Quit
r Refresh run list
1 Focus runs panel
2 Focus steps panel
3 Focus details panel
Enter View selected run
v Verify selected .tine integrity
f Fork selected run from the selected step
c Write a cached replay from the selected step
d Diff selected run against another run
x Resume selected run when manifest.resume is true
h Launch a new external harness run
Ctrl+F Fork selected step and launch a harness
Ctrl+R Replay from selected step with a harness

Write operations and external harness launches require an explicit confirmation modal before they run.

Development

# install opentine (from source until 0.1.1 is on PyPI) and the TUI with dev extras
pip install "opentine @ git+https://github.com/0xcircuitbreaker/opentine.git@main"
pip install -e ".[dev]"

ruff check .
ruff format --check .
pytest

CI runs lint, format, the test suite, a packaging build, and a twine metadata check across Linux/macOS/Windows on Python 3.11–3.13. Pushing a v* tag builds signed release artifacts and attaches them to a GitHub release.

License

Apache 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opentine_tui-0.1.0.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opentine_tui-0.1.0-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file opentine_tui-0.1.0.tar.gz.

File metadata

  • Download URL: opentine_tui-0.1.0.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for opentine_tui-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e4dc815d1a737894731e72e622024d9b4d9d9149de43ca7da8564074a94b02a1
MD5 9df8ba70b65fa8844621061013afd917
BLAKE2b-256 e9856d9dd5feb7058013779e1fad9fcee24d18019badc5ed7d8f4fc94810e9be

See more details on using hashes here.

File details

Details for the file opentine_tui-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: opentine_tui-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for opentine_tui-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e569d773a2cb0aa0c5a62a98bff0c15fb409247b3466560a698a8f6710860e28
MD5 3a46a63b92f2631ccfa1f1e71c2804c6
BLAKE2b-256 3b0bb26cfe2663f376fdd55aac7708f952f67b739424eba2a7525992a812564b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page