Skip to main content

TUI reference implementation for ya-agent-sdk

Project description

YAACLI CLI

TUI reference implementation for ya-agent-sdk.

Usage

Run with uvx:

uvx yaacli

Install with uv:

uv tool install yaacli
yaacli

Update with uv:

uv tool upgrade yaacli

Install with pip:

pip install yaacli
yaacli

Run as a module:

python -m yaacli

Development

This package lives in the ya-mono workspace.

git clone git@github.com:YOUR_NAME/ya-mono.git
cd ya-mono
uv sync --all-packages
cp packages/yaacli/.env.example packages/yaacli/.env

YAACLI loads .env from packages/yaacli/.env and the current working directory. Provider API keys can live in that .env file or in ~/.yaacli/config.toml under [env]. SDK and tool variables such as YA_AGENT_*, YA_AGENT_BROWSER_USE_*, and search API keys can also live in that same .env file because YAACLI loads it into the process environment at startup. Use packages/ya-agent-sdk/.env.example as the reference list for SDK and tool variables.

Run CLI tests from the workspace root:

make test-cli

Clipboard Image Paste

Plain terminal paste always inserts text into the input box. Use Ctrl+V or /paste-image to attach an image from the system clipboard. On macOS terminal apps over SSH, map Command+Shift+V to send Ctrl+V if you want a native-feeling shortcut.

YAACLI reads clipboard images through Pillow first on macOS and Windows. macOS also reads Finder-copied image files through Cocoa pasteboard APIs via pyobjc-framework-Cocoa. Linux image paste still relies on wl-paste on Wayland or xclip on X11.

License

BSD 3-Clause License. See the repository license.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yaacli-0.58.8.tar.gz (234.3 kB view details)

Uploaded Source

Built Distribution

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

yaacli-0.58.8-py3-none-any.whl (207.4 kB view details)

Uploaded Python 3

File details

Details for the file yaacli-0.58.8.tar.gz.

File metadata

  • Download URL: yaacli-0.58.8.tar.gz
  • Upload date:
  • Size: 234.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.2

File hashes

Hashes for yaacli-0.58.8.tar.gz
Algorithm Hash digest
SHA256 095dc7e14ecf0d410fd9ce4e87a30aec7357f563d07a088763636dc8d2041a73
MD5 63b34a891d3a5ac2506e9d3c3a7a2ee7
BLAKE2b-256 da499983dcfb94eeff13719fb24f4fa3bacbfdc63f75096a9dd55d52ba16bbb4

See more details on using hashes here.

File details

Details for the file yaacli-0.58.8-py3-none-any.whl.

File metadata

  • Download URL: yaacli-0.58.8-py3-none-any.whl
  • Upload date:
  • Size: 207.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.2

File hashes

Hashes for yaacli-0.58.8-py3-none-any.whl
Algorithm Hash digest
SHA256 f06742ded7031dcbf6e822856c1113618a5ab572db6874b21c7d2aee9eef3672
MD5 3723cabdc09b9e6e3fca0824c5c69c70
BLAKE2b-256 ca3f88d4d7ff1967f253281c44a423ec216439cab3a5a001399f45a8ff99d9ff

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