Skip to main content

Unified entry point for the WatchLLM developer toolchain — deterministic runtime governance for autonomous coding agents.

Project description

watchllm CLI

Unified developer entry point for the WatchLLM toolchain.

╔══════════════════════════════════════════════════════════════════╗
║   ░██╗ ░░     ██╗    ██╗  ██████╗████████╗ ██████╗██╗  ██╗      ║
║   ░██║ ░░     ██║    ██║  ██╔═══╝╚══██╔══╝██╔════╝██║  ██║      ║
║   ░██║ ░░     ██║ █╗ ██║  ██║       ██║   ██║     ███████║      ║
║   ░██║ ░░     ██║███╗██║  ██║       ██║   ██║     ██╔══██║      ║
║   ░██████╗    ╚███╔███╔╝  ╚██████╗  ██║   ╚██████╗██║  ██║      ║
║   ░╚═════╝     ╚══╝╚══╝    ╚═════╝  ╚═╝    ╚═════╝╚═╝  ╚═╝      ║
║        ███████╗███████╗███████╗██╗     ███╗   ███╗               ║
║        ╚══════╝╚══════╝╚══════╝╚═╝     ╚══╝   ╚══╝               ║
╚══════════════════════════════════════════════════════════════════╝

Deterministic runtime governance for autonomous coding agents.


Install

pip install -e d:/watchllm/cli

Commands

Core Workflow

Command Description
watchllm init [dir] Generate a default .watchllm.yaml in dir
watchllm evaluate <file> Run the kernel governance checks on a source file
watchllm preview <file> Dry-run evaluate — preview without enforcing
watchllm status Check health of all installed WatchLLM subsystems

Safety & Recovery

Command Description
watchllm diff Show git-style unified diff since last snapshot
watchllm rollback Undo last file edit — restore from snapshot

Session Management

Command Description
watchllm session list List all saved sessions
watchllm session resume [name] Resume (or create) a named session
watchllm session clear Delete all sessions

Setup

Command Description
watchllm completion Show tab-completion setup instructions

Features

🎨 Premium Terminal UX

  • Animated spinners for long-running kernel evaluations
  • Progress bars with elapsed time tracking
  • Color-coded status logs: green ✓ success, red ✗ errors, yellow ⚠ warnings
  • Full brand banner with ASCII art logo

🛡 Interactive Safety

  • Confirmation prompts before rollback, session clear, and other destructive operations
  • Dry-run mode via --dry-run flag or preview command
  • Snapshot system: every evaluate saves a snapshot for one-click rollback

📋 Intuitive Output

  • Syntax-highlighted code blocks with line numbers
  • Git-style unified diffs via watchllm diff
  • Compact tables for status and session listings
  • Collapsible panels for violation reports and guidance

💾 Context Preservation

  • Persistent sessions remember working directory, model, and last active time
  • Multi-line paste support
  • Graceful Ctrl+C handling — stops cleanly without killing the terminal

Examples

# Initialize config in current dir
watchllm init

# Dry-run first — see what happens without risk
watchllm preview src/auth/handler.ts

# Evaluate with full enforcement
watchllm evaluate src/auth/handler.ts

# Show what changed since last evaluation
watchllm diff

# Something went wrong? Roll back.
watchllm rollback

# Check everything is installed
watchllm status

# Save your state
watchllm session resume my-project

# Resume later
watchllm session resume my-project

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

watchllm-0.1.2.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

watchllm-0.1.2-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: watchllm-0.1.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for watchllm-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2a4bb13d95e04edd5b618bf34b77e5dbc9f95bbbed70f1562cec697ba663ee08
MD5 21885ce95e29fc25c81ed16996101a60
BLAKE2b-256 91e4dbdca8c14b8dea03454118edc242587021b58fdecf1d202d493a03b44107

See more details on using hashes here.

File details

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

File metadata

  • Download URL: watchllm-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for watchllm-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8b062d84f53669618297434c7e7c7d883466f441d9e9e617865b71fb10fe778c
MD5 56eaacde889ae126aa8f338f7fac6b64
BLAKE2b-256 2e4ef012d3e1b5bfae3efe6e7697e0455d68a998cf2fd24cc716b76d8a6d4787

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