-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat(mcp): persist MCP enabled state to config file #6208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 46 commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
d6c38ea
feat(mcp): persist MCP enabled state to config file
mikij 82a8290
fix(mcp): resolve config path consistently and handle persistence errors
mikij 58407b0
refactor(config): improve config file resolution priority
mikij f061cb2
fix(config): preserve MCP connections on config reload
mikij db3cf55
fix(config): find correct config file for MCP toggle persistence
mikij 0da79ae
fix(config): skip managed config paths when determining where to writ…
mikij ea8fd54
fix(config): handle MCP toggle in read-only managed config
mikij a7bcb7d
Merge branch 'main' into fix/#565-mcp-toggle
mikij 4b8738f
fix(config): resolve config path order mismatch and add change event …
mikij 83730ae
Merge branch 'main' into fix/#565-mcp-toggle
mikij 838149e
fix(config): remive try/catch
mikij f8d2627
fix(config): config writes go to the same location hierarchy as confi…
mikij 2d6cfc5
fix(config): eliminates wasteful operations when toggling an MCP serv…
mikij 7d4e872
fix(config): PR comments
mikij 85b5b3f
fix(config): Added GlobalBus.emit() to update() to notify UI/watchers…
mikij 71c50d4
Merge branch 'main' into fix/#565-mcp-toggle
mikij 2537889
fix(config): addressing comments after conflict resolution
mikij 2d8b32a
Merge branch 'main' into fix/#565-mcp-toggle
mikij 582bafe
fix(config): addressed new set of PR comments
mikij 51d638f
Merge branch 'main' into fix/#565-mcp-toggle
mikij 122fb73
fix(config): addressed new set of PR comments
mikij fbbff14
Merge branch 'main' into fix/#565-mcp-toggle
mikij 0aff250
chore(sdk): removing generated changes from PR
mikij ea6c8b2
fix(mcp): improve toggle logic and config search
mikij e61db48
fix(config): add file locking and fix state disposal order
mikij 5a83ec0
fix(config): improve config file loading order and MCP handling
mikij e4990d6
fix(config): use parseJsonc instead of JSON.parse for inline config
mikij d9cfca5
docs(config): reorganize config resolution order comments
mikij b5b5ec1
refactor(config): update mcp config search order precedence
mikij d2fd238
fix(config): reverse directory depth sort for config file resolution
mikij dcee5c1
Merge branch 'main' into fix/#565-mcp-toggle
mikij 8834242
fix(config): simplify mcp config file existence check
mikij 6386ba2
refactor(config): improve mcp toggle validation and config path resol…
mikij 701f796
Merge branch 'main' into fix/#565-mcp-toggle
mikij 12c1151
Merge remote-tracking branch 'origin/main' into fix/#565-mcp-toggle
mikij 54aa765
fix(config): remove premature Instance.dispose() call
mikij 584dae3
feat(config): enhance cache management and config file precedence
mikij 8b03048
feat(config): add reactive configuration update handling
mikij 6c8201a
refactor(sdk): reorganize event types and standardize json formatting
mikij 913945c
fix(vscode): correct config change event directory comparison
mikij 1355367
feat(config): add boolean return to persistMcpToggle for success indi…
mikij ead0d9f
fix(vscode): correct config change handler to use reloadAfterAuthChange
mikij f93fdbb
fix(vscode): fix MCP toggle config change handling for worktrees
mikij 2e43b29
fix(config): refine shared config detection for accurate state disposal
mikij 48592d8
fix(config): ensure all workspaces refresh after shared config change
mikij f7d52e3
Merge branch 'main' into fix/#565-mcp-toggle
mikij c257437
fix(config): ensure all state is disposed when shared config changes
mikij 8124de8
fix(worktree): refine shared config detection and add directory param…
mikij 2e1a399
feat: adjust config/state disposal and refresh behavior to preserve a…
mikij e74b27a
fix(config): ensure state disposal runs for current directory regardl…
mikij f6b0332
feat(config): add .kilocode directory support as legacy config fallback
mikij ddc4e9b
Merge branch 'main' into fix/#565-mcp-toggle
mikij File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,4 +7,4 @@ | |
| /// <reference path="../../sst-env.d.ts" /> | ||
|
|
||
| import "sst" | ||
| export {} | ||
| export {} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.