Skip to content

Commit 4c13546

Browse files
anvansterclaude
andcommitted
docs: clarify emit_tel stderr/stdout contract
Test PR to dogfood the codegraph-pr GitHub Action. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent a56a0e0 commit 4c13546

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

crates/codegraph-server/src/mcp/server.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
/// happen in the Rust binary — the JS wrapper handles PostHog ingestion.
1212
///
1313
/// Silently dropped if serialization fails (never blocks the server).
14+
/// The wrapper parses these lines from stderr; stdout stays reserved for
15+
/// the JSON-RPC channel.
1416
fn emit_tel(value: serde_json::Value) {
1517
if let Ok(json) = serde_json::to_string(&value) {
1618
eprintln!("TEL: {json}");

0 commit comments

Comments
 (0)