Repository navigation
Commit bcc40cc
committed
fix(mcp): count the open-file dialog's read of a project file
The dialog reads the file directly and the editor saves back what it read, so an MCP edit landing between the two was dropped. The read now counts against saveProjectIfUnchanged, behind the project's queued saves.1 parent 3c6d94e commit bcc40cc
4 files changed
Lines changed: 37 additions & 1 deletion
File tree
- electron
- ai-edition
- ipc
- technical-documentation/architecture
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
860 | 860 | | |
861 | 861 | | |
862 | 862 | | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
863 | 878 | | |
864 | 879 | | |
865 | 880 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
332 | 350 | | |
333 | 351 | | |
334 | 352 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4718 | 4718 | | |
4719 | 4719 | | |
4720 | 4720 | | |
| 4721 | + | |
| 4722 | + | |
4721 | 4723 | | |
4722 | 4724 | | |
4723 | 4725 | | |
| |||
4764 | 4766 | | |
4765 | 4767 | | |
4766 | 4768 | | |
| 4769 | + | |
4767 | 4770 | | |
4768 | 4771 | | |
4769 | 4772 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments