Skip to main content

Candidate CLI for Hyrin interview sessions

Project description

hyrin (Python + Textual)

Candidate CLI for Hyrin interview sessions. Drives pairing, chat, local tool execution, and codebase-state capture for the interviewer.

Install (candidate)

Recommended — provisions Python 3.12 in an isolated environment:

uv tool install --python 3.12 hyrin

Alternative (requires Python ≥ 3.12 already installed):

pipx install hyrin

Plain pip works but pollutes site-packages; not recommended:

pip install hyrin

Tested on macOS and Linux. Windows is not supported in v1.0.

Uninstall

uv tool uninstall hyrin     # if installed via uv
pipx uninstall hyrin        # if installed via pipx
pip uninstall hyrin         # if installed via pip

Run

hyrin <PAIRING_CODE> [--cwd <PATH>]

Default: --cwd = current directory.

Develop

cd cli
python -m pip install -e ".[dev]"
python -m pytest -v

hyrin/ holds the package; tests/ holds pytest + Textual Pilot tests.

Architecture

  • client/ — protocol-only (httpx, websockets, pydantic). No Textual imports.
  • tools/ — local FS + run_command execution gated through safety.py.
  • ui/ — Textual widgets and CSS. No transport imports.
  • app.py — the only place transports meet UI; owns the state machine.

See docs/superpowers/specs/2026-04-16-textual-cli-rewrite-design.md for the full design.

Releasing

CLI releases are fully automated by .github/workflows/build-and-release.yml. To cut a release:

  1. Bump the version in cli/pyproject.toml.
  2. Commit and tag: git tag cli-vX.Y.Z && git push origin main --tags.

The workflow injects the production server URL via script/inject-prod-url.sh, builds the sdist + wheel, verifies the URL is baked in, and publishes to PyPI via Trusted Publishing.

For local development, the source tree always points at http://localhost:3100. Do not commit changes to cli/hyrin/constants.py that hardcode the production URL — that's the inject script's job.

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

hyrin-0.4.1.tar.gz (127.4 kB view details)

Uploaded Source

Built Distribution

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

hyrin-0.4.1-py3-none-any.whl (42.6 kB view details)

Uploaded Python 3

File details

Details for the file hyrin-0.4.1.tar.gz.

File metadata

  • Download URL: hyrin-0.4.1.tar.gz
  • Upload date:
  • Size: 127.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hyrin-0.4.1.tar.gz
Algorithm Hash digest
SHA256 d09596d662edf6d0993e0486272bd2d35f039b98d038305e34d8b52205775f3d
MD5 69aded5eb8d0050b548d758c1ae7eb48
BLAKE2b-256 3598807143201e85c54991a2528562f7473d6e6917c6c8f9cf5689b77be55bb6

See more details on using hashes here.

Provenance

The following attestation bundles were made for hyrin-0.4.1.tar.gz:

Publisher: build-and-release.yml on navrikk/hyrin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hyrin-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: hyrin-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 42.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hyrin-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb0d271fbcb01cfcc1d12f2a6958f9ca6f89047884882d8fcd3a851ebf028d57
MD5 39b25b9463ce7c94e94bed3d0cf8d82a
BLAKE2b-256 e28ad3eda25c14769e279aa0155d14a4ec31304f798a7e3bbcd879914445de63

See more details on using hashes here.

Provenance

The following attestation bundles were made for hyrin-0.4.1-py3-none-any.whl:

Publisher: build-and-release.yml on navrikk/hyrin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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