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.0.tar.gz (127.3 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.0-py3-none-any.whl (42.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hyrin-0.4.0.tar.gz
  • Upload date:
  • Size: 127.3 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.0.tar.gz
Algorithm Hash digest
SHA256 cbe9956abd541199407a769f203aaba91b2206a83eec93d9d414169bc095ac11
MD5 6b3ab191b22638c3d53477f3d8620929
BLAKE2b-256 bcc7b7189eacb00baff89c573f99ddf1645ec96c45dc2716e1ed6d02dda37b2b

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: hyrin-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 42.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb4265a5706bca9fd7b87b06e208b54f5a83cb65b6978575ffd319cd89dfe78f
MD5 960ec70685c322a0872141ea3fb6fd3a
BLAKE2b-256 a7b60f147a0f3ab50741c67ca34fd15a133a09ffd733676673667b7b360ddd63

See more details on using hashes here.

Provenance

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