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.3.tar.gz (127.8 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.3-py3-none-any.whl (42.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hyrin-0.4.3.tar.gz
  • Upload date:
  • Size: 127.8 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.3.tar.gz
Algorithm Hash digest
SHA256 e5c09b42903c96aeb21dbf97191a493cb1c10380022cc8ec00e0d8fe144e2613
MD5 829b3367c8e7ae940670b447005a1d47
BLAKE2b-256 7e4c2b46b96caaf527a0ee1db63e5c17a12e05ef3bd589c059d2dcee7062db47

See more details on using hashes here.

Provenance

The following attestation bundles were made for hyrin-0.4.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: hyrin-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 42.8 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6a0da4ae20ee50ca6751e49b063c5a5ba5c3769c1f52581189fc71cf6435f8f8
MD5 d987c22ac1ccb67cfbe6e469c7e5621c
BLAKE2b-256 e6629452804c364a329e97c83a9ccb34fff60340d53eeff5c679cd792a6abbf9

See more details on using hashes here.

Provenance

The following attestation bundles were made for hyrin-0.4.3-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