Skip to content

Commit a2db033

Browse files
authored
Merge pull request #442 from mediar-ai/pr-merge-20251218-204314
Merge pr-merge-20251218-204314
2 parents 30a9478 + f280df2 commit a2db033

File tree

17 files changed

+1090
-99
lines changed

17 files changed

+1090
-99
lines changed

crates/terminator-cli/src/main.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,7 @@ fn sync_cargo_versions() -> Result<(), Box<dyn std::error::Error>> {
388388
"terminator-rs =",
389389
];
390390

391-
for i in 0..lines.len() {
392-
let line = &lines[i];
391+
for line in &mut lines {
393392
let trimmed_line = line.trim();
394393

395394
if trimmed_line.starts_with('[') {
@@ -406,7 +405,7 @@ fn sync_cargo_versions() -> Result<(), Box<dyn std::error::Error>> {
406405
if let Some(end_quote_offset) = line_clone[version_start..].find('"') {
407406
let range = version_start..(version_start + end_quote_offset);
408407
if &line_clone[range.clone()] != workspace_version.as_str() {
409-
lines[i].replace_range(range, &workspace_version);
408+
line.replace_range(range, &workspace_version);
410409
let crate_name = crate_prefix.trim_end_matches(" =");
411410
println!("✅ Updated '{crate_name}' to {workspace_version}");
412411
updated_count += 1;

crates/terminator-mcp-agent/src/elicitation/helpers.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ where
3030
T: ElicitationSafe + serde::de::DeserializeOwned + Send + 'static,
3131
{
3232
if !peer.supports_elicitation() {
33-
tracing::debug!("[elicitation] Client does not support elicitation: {}", message);
33+
tracing::debug!(
34+
"[elicitation] Client does not support elicitation: {}",
35+
message
36+
);
3437
return default;
3538
}
3639

@@ -77,7 +80,10 @@ where
7780
T: ElicitationSafe + serde::de::DeserializeOwned + Send + 'static,
7881
{
7982
if !peer.supports_elicitation() {
80-
tracing::debug!("[elicitation] Client does not support elicitation: {}", message);
83+
tracing::debug!(
84+
"[elicitation] Client does not support elicitation: {}",
85+
message
86+
);
8187
return None;
8288
}
8389

0 commit comments

Comments
 (0)