Commit Graph

15 Commits

Author SHA1 Message Date
Li Liu f94808969f feat: add --fail-fast option to abort review/discuss on any reviewer failure
By default the orchestrator is resilient: a single reviewer (or context
gatherer) failure is logged and the round continues with the survivors,
aborting only when all reviewers fail.

The new --fail-fast flag flips to strict mode — any reviewer or
context-gathering failure re-throws immediately and terminates the
whole flow. Wired through the review and discuss commands via
OrchestratorOptions.failFast, with a regression test and README docs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 14:24:03 -07:00
Li Liu 0f0372656d refactor: remove redundant per-reviewer summary step before final conclusion
The summarizer now generates the final conclusion directly from the full
debate conversation history, eliminating the intermediate step where each
reviewer was asked to summarize their own points. This saves one round of
API calls per reviewer without losing information.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 14:56:47 +08:00
Li Liu a472b45323 feat: add post-review discussion phase, comment style prompt, /skip, and language config
- Add interactivePostReviewDiscussion() for chatting with any role after review conclusion
- Show all roles (reviewers + analyzer + summarizer) in comment discussion picker
- Add comment style prompt before issue loop to style-guide first-gen comments
- Add /skip and /drop to abandon issues mid-discussion
- Add defaults.language config for localized output (e.g. language: zh)
- Expose getAnalyzer() and getSummarizer() from orchestrator
- Share reviewer sessions across discussion and comment phases

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Li Liu <li.liu@zilliz.com>
2026-03-02 12:09:10 +08:00
ChrisPan bf896593b3 feat: add custom API base URL support for all API providers (#6)
Allow users to configure `base_url` per provider to connect to
compatible third-party endpoints (Azure OpenAI, Ollama, vLLM, one-api,
etc.). All four API providers (Anthropic, OpenAI, Gemini, MiniMax) now
accept an optional `base_url` in config which is passed through to
their respective SDKs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-26 22:55:17 +08:00
Li Liu 8b35dbecbf docs: update README with new providers, post-processing, and debug mode
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 21:27:52 +08:00
Li Liu 3343d178a7 docs: update README with context gatherer feature
- Add contextGatherer config section with all options
- Add --skip-context, --plan-only, --reanalyze CLI options
- Update workflow diagram to include context gathering step
- Add Context Gathering feature description

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 16:45:59 +08:00
Kiyor Cai 71ad32394d docs: add discuss command documentation to README
Add documentation for the new discuss feature including:
- CLI options and flags
- Usage examples (basic, devil's advocate, interactive)
- Session management (list/resume)
- Feature highlights
2026-01-29 13:12:17 +08:00
xiaofanluan 7cccacdc51 feat: add repository-wide code review with feature analysis
Implement full repository review mode that detects logical features/modules
and reviews them systematically with session persistence for pause/resume
capability.

Key additions:
- RepoScanner: scans codebase and estimates tokens/cost
- FeatureAnalyzer: AI-powered detection of logical modules
- FeaturePlanner: creates review execution plan
- StateManager: persists sessions for resume capability
- RepoOrchestrator: executes feature-by-feature reviews
- MarkdownReporter: generates review reports

New CLI options: --repo, --quick, --deep, --list-sessions, --session,
--export, --path, --ignore, --plan-only, --reanalyze

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 22:58:22 +08:00
Li Liu c08ee3819a docs: update README with new features
- Add Fair Debate Model and Parallel Execution to core concepts
- Update max_rounds default from 2 to 5
- Document new CLI options: --reviewers, --all/-a, --git-remote
- Add Reviewer Selection section with interactive/CLI examples
- Rewrite Workflow to show Round 1 independent → Round 2+ debate model
- Add Fair Debate Model explanation section
- Add Parallel Execution section with example output

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 19:07:34 +08:00
Li Liu 96fc85c217 fix: disable gemini-cli session support (uses full context mode)
Gemini CLI only supports index-based sessions (-r latest or -r 5),
not custom session IDs like Claude CLI. Since "latest" could refer
to a different session if user runs other Gemini commands, this is
unreliable. Disabled session support for Gemini CLI - it will always
use full context mode instead.

Also updated README to clarify session support per provider.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 18:10:33 +08:00
Li Liu 9bcaf728fd docs: update README with new features
- Add gemini-cli to supported providers
- Document session persistence
- Document post-analysis Q&A feature
- Document markdown rendering
- Document cold jokes
- Update example config for CLI-only setup
- Add PR URL support in examples

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 17:43:33 +08:00
Li Liu fcb3f17891 feat: add local review modes (--local, --branch, --files) 2026-01-26 15:35:37 +08:00
Li Liu 2afb5b756c docs: translate README to English 2026-01-26 15:21:34 +08:00
Li Liu ccba115f5e feat: add convergence detection, token tracking, and UX improvements
- Add convergence detection (default enabled, configurable)
- Add token usage estimation and cost tracking
- Add spinner for waiting states
- Fix AI sycophancy by clarifying debate context
- Explicitly state reviewer count in prompts
- Update README with Chinese documentation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 15:20:14 +08:00
Li Liu f566f8026d docs: add README 2026-01-26 12:38:58 +08:00