Skip to content

Commit be673d1

Browse files
Native: Remove print statements
1 parent ad6eca1 commit be673d1

File tree

7 files changed

+74
-65
lines changed

7 files changed

+74
-65
lines changed

application/apps/indexer/.vscode/launch.json

Lines changed: 0 additions & 36 deletions
This file was deleted.

application/apps/indexer/gui/application/src/host/communication.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,6 @@ impl ServiceSenders {
7474
self.egui_ctx.clone(),
7575
)
7676
}
77-
78-
pub fn get_mcp_task_subscriber(&self) -> broadcast::Receiver<Tasks> {
79-
self.mcp_task_tx.subscribe()
80-
}
8177
}
8278

8379
/// Initialize communication channels for host application.

application/apps/indexer/gui/application/src/host/service/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,8 +480,6 @@ impl HostService {
480480
parser: ParserConfig,
481481
session_setup_id: Option<Uuid>,
482482
) -> Result<(), HostError> {
483-
let mcp_task_rx: tokio::sync::broadcast::Receiver<Tasks> =
484-
self.communication.senders.mcp_task_tx.subscribe();
485483
let origin = match source {
486484
ByteSourceConfig::File(source_file_info) => ObserveOrigin::File(
487485
Uuid::new_v4().to_string(),

application/apps/indexer/gui/application/src/session/service/mod.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ impl SessionService {
4949
shared_senders: SharedSenders,
5050
options: ObserveOptions,
5151
) -> Result<InitSessionParams, InitSessionError> {
52-
println!(
53-
"🔵 Spawning Session Service with options: {options:?}; shared_options: {shared_senders:?}"
54-
);
5552
let mcp_task_rx = shared_senders.get_mcp_task_subscriber();
5653

5754
let session_id = Uuid::new_v4();
@@ -105,8 +102,6 @@ impl SessionService {
105102
"Failed to start MCP client for session {}: {err:?}",
106103
self.session_id()
107104
);
108-
} else {
109-
println!("🟢 MCP client started for session {}", self.session_id());
110105
}
111106
loop {
112107
select! {
@@ -126,25 +121,21 @@ impl SessionService {
126121
Tasks::ApplySearchFilter { session_id, filters, task_result_tx } => {
127122
if self.session_id() == session_id {
128123
let cmd = SessionCommand::ApplySearchFilter { operation_id: session_id, filters: filters.clone() };
129-
println!("🔵 Forwarding ApplySearchFilter command to Session Service {}: {:?}", self.session_id(), cmd);
130124
match self.handle_command(cmd, prompt_tx.clone()).await {
131125
Ok(ControlFlow::Break(())) => {
132-
println!("✅ Successfully handled ApplySearchFilter command with BREACK for session {}", self.session_id());
133126

134127
if let Err(err) = task_result_tx.send(Ok(())).await {
135128
log::error!("Failed to send task result for ApplySearchFilter: {err:?}");
136129
}
137130
break
138131
},
139132
Ok(ControlFlow::Continue(())) => {
140-
println!("✅ Successfully handled ApplySearchFilter command with CONTINUE for session {}", self.session_id());
141133

142134
if let Err(err) = task_result_tx.send(Ok(())).await {
143135
log::error!("Failed to send task result for ApplySearchFilter: {err:?}");
144136
}
145137
},
146138
Err(error) => {
147-
println!("❌ Error while handling ApplySearchFilter command: {error:?}");
148139
self.send_error(error).await;
149140
}
150141
}

application/apps/indexer/gui/application/src/session/ui/bottom_panel/search/search_bar.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ impl SearchBar {
7070

7171
// Apply temp filter on pressing enter.
7272
if enter_pressed && !self.query.is_empty() {
73-
println!("🔍 SearchBar: Applying search with query '{}'", self.query);
7473
if self.temp_filter.is_some() {
7574
self.drop_search(shared, actions);
7675
}

application/apps/indexer/mcp/src/server/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ When the user provides natural language instructions, interpret them as follows:
152152
task_result_tx,
153153
filters,
154154
};
155-
println!("🔵 Received task from LLM {task:?}");
156155
// Send task over communication channel in a separate thread,
157156
// in future, we can skip match over task spawn
158157
match self.task_tx.send(task) {

cli/chipmunk-cli/Cargo.lock

Lines changed: 74 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)