1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! Inputs to [`super::maybe_offer_import_reviews`].
//!
//! Kept in its own module so test harnesses can construct an
//! [`PostInstallScanOpts`] without pulling the whole module surface.
use PathBuf;
/// Default `--max-prs` for the post-install offer. Small enough to keep
/// the implied wait under ~2 minutes on a real PR-history repo; large
/// enough to almost always yield at least one extracted candidate.
pub const DEFAULT_MAX_PRS: u32 = 5;
/// Knobs for the post-install "import last N PRs?" offer. All fields are
/// public so the eventual one-line call site in `mcp_install/install.rs`
/// can use struct-update syntax without needing a builder.