Commit 045181e
authored
fix(init): generate mcpls.toml config instead of unsupported --workspace-root flag (#1540)
* fix(init): generate mcpls.toml config instead of unsupported --workspace-root flag
mcpls 0.3.4 does not accept --workspace-root; passing it caused an
immediate exit with code 2, breaking LSP for all users who configured
mcpls via `zeph init`.
The wizard now writes .zeph/mcpls.toml with workspace roots,
[[workspace.language_extensions]] (works around mcpls serde default-Vec
bug where roots-only [workspace] section results in empty extension map),
and rust-analyzer [[lsp_servers]] entry. The MCP server entry passes
--config .zeph/mcpls.toml instead of --workspace-root pairs.
Closes #1534
* ci: add CodeQL scheduled workflow, disable default setup on PRs1 parent a7d3819 commit 045181e
3 files changed
Lines changed: 103 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
766 | 766 | | |
767 | 767 | | |
768 | 768 | | |
769 | | - | |
770 | | - | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | | - | |
780 | | - | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
781 | 772 | | |
782 | 773 | | |
783 | 774 | | |
784 | | - | |
| 775 | + | |
785 | 776 | | |
786 | 777 | | |
787 | 778 | | |
| |||
1099 | 1090 | | |
1100 | 1091 | | |
1101 | 1092 | | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
1102 | 1143 | | |
1103 | 1144 | | |
1104 | 1145 | | |
| |||
1384 | 1425 | | |
1385 | 1426 | | |
1386 | 1427 | | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
1387 | 1432 | | |
1388 | 1433 | | |
1389 | 1434 | | |
| |||
1727 | 1772 | | |
1728 | 1773 | | |
1729 | 1774 | | |
1730 | | - | |
1731 | | - | |
1732 | | - | |
1733 | | - | |
1734 | | - | |
1735 | | - | |
1736 | | - | |
1737 | | - | |
1738 | | - | |
| 1775 | + | |
1739 | 1776 | | |
1740 | 1777 | | |
1741 | 1778 | | |
| |||
1754 | 1791 | | |
1755 | 1792 | | |
1756 | 1793 | | |
1757 | | - | |
| 1794 | + | |
1758 | 1795 | | |
1759 | 1796 | | |
1760 | 1797 | | |
| |||
0 commit comments