attuned-cli

Crates.ioattuned-cli
lib.rsattuned-cli
version1.0.1
created_at2025-12-18 17:49:14.84636+00
updated_at2025-12-18 19:47:02.244221+00
descriptionCLI tool for Attuned development and testing
homepage
repositoryhttps://github.com/JtPerez-Acle/Attuned
max_upload_size
id1993008
size57,437
jt.. (JtPerez-Acle)

documentation

README

attuned-cli

CLI tool for Attuned development and testing.

Installation

cargo install attuned-cli

Commands

Start Server

# 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

# 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

List Axes

# Show all canonical axes
attuned axes

# Show specific axis details
attuned axes cognitive_load

Environment Variables

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

Example Usage

# 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

License

Apache-2.0

Commit count: 0

cargo fmt