Repository navigation
Commit 1cfb6e3
LehaoLin
fix: persist MCP toggle changes to opencode.json
- Save enabled state when connecting/disconnecting MCP servers
- Fixes issue where /mcp toggle doesn't persist after restart
- Config.update() called in both connect() and disconnect()
Fixes anomalyco#177991 parent 51fcd04 commit 1cfb6e3
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
572 | 576 | | |
573 | 577 | | |
574 | 578 | | |
| |||
604 | 608 | | |
605 | 609 | | |
606 | 610 | | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
607 | 620 | | |
608 | 621 | | |
609 | 622 | | |
| |||
0 commit comments