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.2.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.2-py3-none-any.whl (42.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hyrin-0.4.2.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.2.tar.gz
Algorithm Hash digest
SHA256 d3db35352785ca094d550316a597f29bc655fa844955f50c6e923605e987c01c
MD5 9735a11ac51d2d9ffb6bcaf5f145587e
BLAKE2b-256 f6b42bc7cd0e968b10bc23c8023579f18229108dfd57564120129f96f92f3759

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: hyrin-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 42.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 72582dd67f4dabe232263e4faa320a1cacbf6acf9f27db2b12ace148a127dc70
MD5 23de18fcfa4af5f3e119af95f8b48432
BLAKE2b-256 143586f24b810e2e32708d105df24a22551779b12f5ffa395112c4d62ba80ff0

See more details on using hashes here.

Provenance

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