feat(cli): add interactive repl #379

Merged
brent.edwards merged 1 commits from develop-rui-1 into master 2026-02-23 03:50:18 +00:00
Member
No description provided.
brent.edwards added 1 commit 2026-02-23 03:18:18 +00:00
feat(cli): add interactive repl
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 15s
CI / quality (pull_request) Successful in 19s
CI / build (pull_request) Successful in 24s
CI / security (pull_request) Successful in 34s
CI / typecheck (pull_request) Successful in 43s
CI / integration_tests (pull_request) Successful in 2m37s
CI / unit_tests (pull_request) Successful in 6m12s
CI / docker (pull_request) Successful in 1m1s
CI / benchmark-regression (pull_request) Successful in 15m33s
CI / coverage (pull_request) Successful in 21m54s
f48eb5a05f
Implement `agents repl` command providing an interactive read-eval-print
loop that dispatches to existing CLI commands without the `agents` prefix.

Features:
- Command dispatch via existing Typer app
- readline history with --no-history opt-out (default: ~/.cleveragents/history)
- Tab-completion for all CLI commands and built-in commands
- !! last-command repetition
- Prompt context from CLEVERAGENTS_PROJECT / CLEVERAGENTS_PLAN env vars
- Ctrl+C (continue) and Ctrl+D (exit) signal handling
- Multi-line input with \ continuation
- :help and :exit/:quit built-in commands

Test coverage:
- 15 Behave scenarios (features/repl.feature)
- 10 Robot Framework smoke tests (robot/repl_smoke.robot)
- ASV benchmark suite (benchmarks/repl_bench.py)
- All nox sessions pass: lint, typecheck, unit_tests, integration_tests
- Coverage: 97.2% (threshold: 97%)
brent.edwards merged commit a4685d374c into master 2026-02-23 03:50:18 +00:00
brent.edwards deleted branch develop-rui-1 2026-02-23 03:50:18 +00:00
freemo added this to the v3.6.0 milestone 2026-02-23 17:26:16 +00:00
Owner

Closes #339

Closes #339
freemo added the
State
Completed
label 2026-03-04 00:59:05 +00:00
Sign in to join this conversation.
No Reviewers
No Label
State
Completed
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cleveragents/cleveragents-core#379