Vine/Server/Notification/mod.rs
1//! # Vine::Server::Notification
2//!
3//! Cocoon → Mountain notification handlers with non-trivial logic.
4//! Pure relay atoms (single RelayToSky::Fn call, single EmitToRenderer,
5//! or single dev_log!) are inlined directly in the Mountain dispatcher
6//! rather than given their own file.
7//!
8//! Every handler here has at least one of:
9//! - Payload reshape / field extraction
10//! - Channel-drain coalescer (OnceLock flusher)
11//! - Multiple side effects
12//! - Non-obvious sky-event mapping
13
14pub mod Support;
15
16// --- Output: coalescer + payload-reshape ---
17
18pub mod OutputAppendLine;
19
20pub mod OutputChannelAppend;
21
22pub mod OutputChannelCoalesce;
23
24pub mod OutputChannelHide;
25
26pub mod OutputReplace;
27
28// --- Progress: channel-drain coalescer + payload reshape ---
29
30pub mod ProgressEnd;
31
32pub mod ProgressReport;
33
34pub mod ProgressStart;
35
36// --- Webview ---
37
38pub mod WebviewDispose;
39
40pub mod WebviewPostMessage;
41
42pub mod WebviewLifecycle;
43
44// --- Window / Workspace ---
45
46pub mod WindowShowMessage;
47
48// --- Decoration batching ---
49
50pub mod DecorationTypeLifecycle;
51
52// --- Misc with logic ---
53
54pub mod OpenExternal;
55
56pub mod SecurityIncident;
57
58// --- StatusBar ---
59
60pub mod StatusBarLifecycle;
61
62pub mod StatusBarMessage;
63
64pub mod SetStatusBarText;
65
66pub mod DisposeStatusBarItem;
67
68// --- Debug ---
69
70pub mod DebugLifecycle;
71
72// --- Editor text mutations ---
73
74pub mod ApplyTextEdits;
75
76pub mod SetTextEditorDecorations;
77
78// --- Language configuration ---
79
80pub mod SetLanguageConfiguration;
81
82// --- Command registry ---
83
84pub mod RegisterCommand;
85
86pub mod UnregisterCommand;
87
88// --- Provider unregistration (multi-step logic only) ---
89
90pub mod UnregisterScmProvider;
91
92// --- Terminal ---
93
94pub mod TerminalLifecycle;
95
96pub mod WindowCreateTerminal;
97
98// --- SCM registration ---
99
100pub mod RegisterScmProvider;
101
102pub mod RegisterScmResourceGroup;
103
104// --- Language-feature provider registration ---
105
106pub mod RegisterLanguageProvider;
107
108// --- SCM group update ---
109
110pub mod UpdateScmGroup;