Commit 755be4a
committed
feat(Common/IPC): Add ExtHostDebug proxy target
Added `ExtHostDebug` variant to the `ProxyTarget` enum in the Common crate's IPC DTO module. This change extends the RPC proxy targets to support the debug extension host capability, which is a prerequisite for implementing the debug API in the `Cocoon` sidecar and `Mountain` backend.
The `ProxyTarget` enum is used by the `Track` dispatcher in `Mountain` to route RPC calls and by `Cocoon` to register its capabilities. This addition enables the debug extension host to be integrated into the existing RPC system (`Vine` gRPC layer), supporting the debugging workflow implementation. The `GetTargetPrefix()` method will now generate appropriate RPC method prefixes (e.g., `ExtHostDebug$MethodName`) for debug-related operations.
This aligns with Land's architecture where Common defines the abstract IPC contracts that both Mountain (Rust backend) and Cocoon (TypeScript extension host) implement, enabling type-safe communication through the Vine IPC layer.1 parent 6a7d2f5 commit 755be4a
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
| 119 | + | |
118 | 120 | | |
119 | 121 | | |
120 | 122 | | |
121 | 123 | | |
122 | | - | |
| 124 | + | |
123 | 125 | | |
124 | 126 | | |
125 | 127 | | |
0 commit comments