| Crates.io | attuned-cli |
| lib.rs | attuned-cli |
| version | 1.0.1 |
| created_at | 2025-12-18 17:49:14.84636+00 |
| updated_at | 2025-12-18 19:47:02.244221+00 |
| description | CLI tool for Attuned development and testing |
| homepage | |
| repository | https://github.com/JtPerez-Acle/Attuned |
| max_upload_size | |
| id | 1993008 |
| size | 57,437 |
CLI tool for Attuned development and testing.
cargo install attuned-cli
# Start HTTP server on default port (8080)
attuned serve
# Custom port
attuned serve --port 3000
# With authentication
attuned serve --auth-key "your-api-key"
# Translate state to prompt context
attuned translate --cognitive-load 0.8 --stress-level 0.6
# Output as JSON
attuned translate --cognitive-load 0.8 --json
# Show all canonical axes
attuned axes
# Show specific axis details
attuned axes cognitive_load
| Variable | Description | Default |
|---|---|---|
ATTUNED_HOST |
Server bind address | 127.0.0.1 |
ATTUNED_PORT |
Server port | 8080 |
ATTUNED_LOG |
Log level | info |
ATTUNED_AUTH_KEY |
API key for auth | None |
# Start server in background
attuned serve &
# Set user state
curl -X POST http://localhost:8080/v1/state \
-H "Content-Type: application/json" \
-d '{"user_id": "test", "axes": {"cognitive_load": 0.9}}'
# Get context
curl http://localhost:8080/v1/context/test
Apache-2.0