[skip ci] fix: batch fixes for issues #3044, 3045, 3046, 3047, 3048, 3049, 3057, 3058, 3059, 3060#400
Open
[skip ci] fix: batch fixes for issues #3044, 3045, 3046, 3047, 3048, 3049, 3057, 3058, 3059, 3060#400
Conversation
…, 3058, 3059, 3060 [skip ci] Fixes: - #3044: Add LSP Server Auto-Detection from Editor Configs - Added --detect-from-editor flag to cortex debug lsp - Parses .vscode/settings.json for configured LSP servers - #3045: LSP Server Paths Show Redundant Full Path - Added --short-paths flag to show command name instead of full path - Added in_path field to track if command is in PATH - #3046: Add LSP Server Functionality Testing - Added --test flag to cortex debug lsp - Sends LSP initialize request to verify server responds - #3047: No Way to Disable Specific LSP Servers - Added support for lsp.disabled config option - Shows (disabled) status in debug lsp output - #3048: Add LSP Server Configuration Section in Config - Added support for [lsp] section in config.toml - Supports disabled list and custom args per server - #3049: Snapshots Directory Never Used Despite Being Listed - Changed status from 'missing' to 'not created' for optional dirs - Added note explaining directories are created on-demand - #3057: install.ps1 Has No Checksum Verification - Created scripts/install.ps1 with SHA256 checksum verification - Uses Get-FileHash for secure download verification - #3058: install.sh Allows Path Traversal via CORTEX_VERSION - Created scripts/install.sh with version format validation - Rejects versions containing path traversal characters (../) - #3059: Add Support for Multiple Wait Conditions - Added --all flag to cortex debug wait - Allows combining --lsp-ready, --server-ready, --port - #3060: Document Exit Codes for All Commands - Added exit code documentation to module and struct docs - 0=success, 1=error/condition not met, 2=usage error
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Batch fix for multiple bounty issues.
Issues Fixed
Changes
LSP Enhancements (cortex-cli/src/debug_cmd.rs)
--detect-from-editorflag to detect LSP servers from .vscode/settings.json--short-pathsflag to show command name instead of full path for PATH-accessible servers--testflag to test LSP server functionality via initialize request[lsp]config section withdisabledlist and custom argsWait Command Enhancements
--allflag to wait for multiple conditions simultaneously--lsp-ready --server-ready --portwith--allPaths Command Improvements
Install Scripts (scripts/)
Documentation