MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / do_update_message

Method do_update_message

crates/opencode-tool/src/tool.rs:559–565  ·  view source on GitHub ↗
(&self, msg: serde_json::Value)

Source from the content-addressed store, hash-verified

557 }
558
559 pub async fn do_update_message(&self, msg: serde_json::Value) -> Result<(), ToolError> {
560 if let Some(ref callback) = self.update_message {
561 callback(msg).await
562 } else {
563 Ok(())
564 }
565 }
566
567 pub fn with_lsp_touch_file<F, Fut>(mut self, callback: F) -> Self
568 where

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected