lean-claudient-core
v0.1.0
Published
Core Lean Claudient CLI: token-optimized AI development harness (Phases 1-4)
Maintainers
Readme
@lean-claudient/core
Core Lean Claudient CLI package — Phases 1-4 implementation.
Features
- Caveman Mode: Aggressive compression toggle (strips comments, minimizes whitespace)
- Auto-Compact Engine: Dynamically prunes conversation history
- Read Deduplication: Hash-based caching for repeated file reads
- Tool Output Budgets: Hard limits on grep, bash, file reads with ANSI stripping
- Self-Healing: Background monitoring of tool failures and linter errors
- Skill Capture: Permanent recovery routines for known issues
- Conservative CTO Mode: Hard-capped token limits, aggressive semantic caching
- Senior Developer Mode: Balanced depth and brevity
Installation
npm install @lean-claudient/coreCLI Usage
lean-claudient --help
lean-claudient init --mode full
lean-claudient audit --session <id> --format jsonArchitecture
src/cli/— CLI entry point and command handlerssrc/subagents/— Investigator, Builder, Reviewer, Orchestrator agentssrc/context/— Tool budgets, auto-compact, read deduplicationsrc/compression/— Caveman mode implementationsrc/modes/— Conservative CTO, Senior Developer modessrc/recovery/— Context recovery and emergency proceduressrc/telemetry/— Token counting and metricssrc/config/— Configuration management
Development
npm run build # Compile TypeScript
npm run dev # Watch mode
npm run test # Run tests
npm run lint # ESLint
npm run type-check # TypeScript validationLicense
MIT
