Commit 6a7d2f5
committed
feat(Common): Add TreeView error and StatusBar proxy target
- Added `Serialize` and `Deserialize` to `CommonError` to enable IPC transmission of errors across `Mountain`↔`Cocoon` boundaries via `Vine` gRPC layer, ensuring structured error handling in extension workflows
- Introduced `TreeViewProviderNotFound` error variant to support TreeView API implementation in `Cocoon` sidecar (MVP Path A), aligning with implemented workflow #11
- Added `ExtHostStatusBar` variant to `ProxyTarget` enum to enable RPC routing for Status Bar API through `Track` dispatcher, extending extension host capabilities
- Simplified `tauri::Error` conversion to maintain clean error handling in Tauri↔`Wind` IPC (`Echo` layer)
These changes expand extension API support in `Cocoon` while strengthening error propagation mechanisms in Land's core IPC architecture.1 parent e77aca8 commit 6a7d2f5
2 files changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
13 | | - | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
68 | 73 | | |
69 | 74 | | |
70 | 75 | | |
| |||
120 | 125 | | |
121 | 126 | | |
122 | 127 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
| 128 | + | |
128 | 129 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
| |||
118 | 120 | | |
119 | 121 | | |
120 | 122 | | |
121 | | - | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
0 commit comments