Mountain/Vine/Server/Notification/OutputChannelHide.rs
1#![allow(non_snake_case)]
2//! Cocoon → Mountain `outputChannel.hide` notification.
3//! Stock VS Code exposes `OutputChannel.hide()` as a counterpart to
4//! `show()`. Sky doesn't yet render a dismissable panel per-channel, so
5//! the signal currently no-ops to a tagged log line. Kept explicit so
6//! the wire name doesn't fall through to `notif-drop` on every
7//! extension-driven hide.
8
9use serde_json::Value;
10
11use crate::{Vine::Server::MountainVinegRPCService::MountainVinegRPCService, dev_log};
12
13pub async fn OutputChannelHide(_Service:&MountainVinegRPCService, Parameter:&Value) {
14 dev_log!(
15 "grpc",
16 "[OutputChannel] hide channel={} (no-op - panel dismiss not wired)",
17 Parameter.get("channel").and_then(Value::as_str).unwrap_or("?")
18 );
19}