Commit 6596d0b
committed
feat(Wind): Add Language, Tree, and Model IPC channels
Extend the IPC channel registry in Channel.ts with new command constants required for editor UI interactions. Introduce channels for Language features (`ProvideInlineCompletions`), Tree View management (`GetChildren`, `Reveal`, `SelectionChanged`, `CollapseElement`, `ExpandElement`, `VisibilityChanged`), and Model updates (`UpdateContent`).
Simultaneously, correct a stub implementation in TauriMainProcessService.ts. The `createWorker` entry in `utilityProcessWorker` was incorrectly wrapped in an object, causing a silent hang in `DiskFileSystemProvider` when the workbench awaited a non-thenable value. Refactor it to return a direct `Promise` to match the lockstep copy in the Output component.
These changes align the IPC layer with upcoming workbench service implementations and resolve a critical blocking issue in the worker lifecycle.1 parent 961046f commit 6596d0b
2 files changed
Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
427 | 446 | | |
428 | 447 | | |
429 | 448 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
237 | 241 | | |
238 | 242 | | |
239 | 243 | | |
| |||
0 commit comments