Skip to main content

CLI-first Starray

Project description

Starray

Phase 0 baseline scaffold for a CLI-first StarRay.

Install

pipx install --python 3.13 starray-cli
starray --version
starray init

If you prefer source install:

git clone <repo-url>
cd starray
pyenv install 3.13.12 --skip-existing
pyenv local 3.13.12
python -m venv .venv
source .venv/bin/activate
pip install -e .
starray
starray status
starray chat --message "hello"
starray --session-id <session_id>
starray chat --session-id <session_id>

Python Version

  • Required: 3.13.12
  • Supported range: >=3.13,<3.14 (LangGraph dependency compatibility)

Session Resume

  • When chat exits, the CLI prints Session saved: <session_id>.
  • Resume a session with:
    • starray --session-id <session_id> (interactive default)
    • starray chat --session-id <session_id>

Config Resolution

Order of precedence:

  1. --config <path>
  2. STARRAY_CONFIG environment variable
  3. ~/.config/starray/starray.toml (or $XDG_CONFIG_HOME/starray/starray.toml)
  4. ./configs/starray.toml (repo-local fallback)

If no config exists, run starray init.

Interactive Commands

  • /status: show active provider/model.
  • /session: show current session id.
  • /help: show available chat commands.
  • exit or quit: save and exit.

Release

  • CI runs on pushes/PRs via .github/workflows/ci.yml.
  • Publishing runs on tags like v0.1.2 via .github/workflows/publish.yml.
  • PyPI publishing uses repository secret PYPI_API_TOKEN.
  • A helper installer script is available at scripts/install.sh.

Layout

  • src/starray/: CLI, config, logging, session primitives
  • configs/starray.toml: provider/model configuration
  • docs/: architecture notes and ADRs
  • tests/: baseline tests

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

starray_cli-0.1.2.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

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

starray_cli-0.1.2-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file starray_cli-0.1.2.tar.gz.

File metadata

  • Download URL: starray_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for starray_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ff913e74715abc1f71406fc29f067f0f269f277b3f4b2858016aaf297b614798
MD5 ad7064c4de05b809c02e598db6985d77
BLAKE2b-256 67d9039cbfddea3524a19b146fc10c1245655108ca9455cc60fdecac1302fa59

See more details on using hashes here.

File details

Details for the file starray_cli-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: starray_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for starray_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eb39d8a3e27a2144158b8a02ecc3f1828257e1a37fbed2492de4468117517062
MD5 11e1d23f7adb6779cdc0e632a00eef33
BLAKE2b-256 e00668065a13f9cf2df4876d909c6ec8546afc6b7b179004c0720eed3e22c1ef

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