Skip to content

Commit a102950

Browse files
committed
chore: update formula for v1.2.0 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 7374799 commit a102950

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

Cargo.lock

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ccr-core/src/focus/assembler.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pub fn assemble(
4141
let negative_guidance = build_negative_guidance(&recommended_files);
4242

4343
// Format as human-readable text
44-
let guidance_text = format_guidance(&recommended_files, total_files);
44+
let guidance_text = format_guidance(&recommended_files);
4545

4646
GuidanceOutput {
4747
recommended_files,
@@ -61,7 +61,7 @@ fn build_negative_guidance(_recommended: &[FileEntry]) -> Vec<String> {
6161
}
6262

6363
/// Format guidance as human-readable text for injection into context.
64-
fn format_guidance(recommended: &[FileEntry], total_files: usize) -> String {
64+
fn format_guidance(recommended: &[FileEntry]) -> String {
6565
if recommended.is_empty() {
6666
return "## Context Focus\nNo specific files identified as most relevant.".to_string();
6767
}
@@ -96,7 +96,7 @@ mod tests {
9696

9797
#[test]
9898
fn test_format_guidance_empty() {
99-
let text = format_guidance(&[], 50);
99+
let text = format_guidance(&[]);
100100
assert!(text.contains("No specific files"));
101101
}
102102

@@ -115,7 +115,7 @@ mod tests {
115115
},
116116
];
117117

118-
let text = format_guidance(&files, 50);
118+
let text = format_guidance(&files);
119119
assert!(text.contains("src/main.rs"));
120120
assert!(text.contains("Entry Point"));
121121
assert!(text.contains("src/db.rs"));

ccr/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "panda"
3-
version = "1.1.1"
3+
version = "1.2.0"
44
edition = "2021"
55

66
[[bin]]

0 commit comments

Comments
 (0)