-
Notifications
You must be signed in to change notification settings - Fork 0
refactor: move MCP implementation from ls #2
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
Conversation
| PackageName: issue.PackageName, | ||
| Version: issue.Version, | ||
| Ecosystem: issue.PackageManager, | ||
| FixedIn: issue.FixedIn, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use upgradePath[1] and from[1] to differentiate between direct/indirect dependencies. maybe for ctx-mgmt, we should just have a flag "isUpgradable" instead of adding the whole dep path and upgrade path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe remove, as it's redundant to remediation advice
internal/oss/map.go
Outdated
| FixedIn: issue.FixedIn, | ||
| Remediation: issue.getRemediation(), | ||
| FilePath: targetFilePath, | ||
| Line: issue.LineNumber, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider range finding
Move MCP implementation from https://github.com/snyk/snyk-ls/tree/main/mcp_extension