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.3.tar.gz (5.9 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.3-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: watchllm-0.1.3.tar.gz
  • Upload date:
  • Size: 5.9 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.3.tar.gz
Algorithm Hash digest
SHA256 e4024117da3c84ec1c19fbba058641b2a2955b7e9deb29b7b57648b251d24d34
MD5 d603dca025b7784fb2dc521a5473a550
BLAKE2b-256 a154c83627bb90273b64a571fc7ec212e955ac4b2d09d7f3b013d49e6dcd3dd7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: watchllm-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.0 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 eccef2315fbf2048a845e1128cc7fd656a57422d1aedfb8057b7b1388a14c791
MD5 276d657ce6c1eaeb70988bb37d21e6d3
BLAKE2b-256 aef2b79883fe525fd7b0b6db223e596eeb1056f299e9ab115fda0bfc74a874c2

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