Spaces:
Sleeping
Sleeping
Commit History
-
fix: Improve fix application accuracy and indentation preservation
Unknown-Geek +1: Copilot- Fixed line number detection: replaced character-based indexOf with line-by-line matching - Added smart line search: finds code within ±10 lines if file changed - Implemented indentation preservation: detects and maintains base indentation - Enhanced validation: verifies code before applying fixes - Added fuzzy matching fallback for line detection - Improved error handling and user warnings Files modified: - server/diffAnalyzer.js: Line-by-line matching algorithm - src/extension.ts: Smart validation and indentation logic Documentation added: - INSTALLATION.md: Complete installation guide - INSTALLATION_COMPLETE.md: Post-installation summary - test-fix-application.md: Technical details of improvements Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>6c57ac0
-
update test_vulnerable.py with realistic security flaws for demo
Unknown-Geek09a655c -
feat: align extension + backend with n8n output format
Unknown-Geek- Rewrite applyIndividualFix with line-number-based replacement - Fix All in File applies fixes bottom-to-top by line range - Pass n8n vulnerability types/details through backend pipeline - diffAnalyzer uses n8n type hints for correct vulnerability labeling - Normalize n8n error responses to uniform output format - Show vulnerability types + Apply Fix indicator in tree view - Package latest VSIX88ae80a
-
fix: disable unreliable line-based fix replacement
Unknown-Geek +1: Claude Opus 4.6Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>97df9b5 -
fix: prevent file corruption in apply individual fix
Unknown-Geek +1: Claude Opus 4.6Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>8db2286 -
fix: improve individual vulnerability fix application
Unknown-Geek +1: Claude Opus 4.6- Use line-based replacement as primary strategy instead of string search - Properly extract corresponding corrected code blocks (not just changed lines) - Fix code block mismatch that was causing full file replacement - Add multiple fallback strategies for finding original code - Remove automatic full-file replacement fallback Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>d43f6e6 -
fix: improve individual vulnerability fix application
Unknown-Geek +1: Claude Opus 4.6- Changed applyIndividualFix to search for original code in document rather than relying on line numbers which can drift - Handle full-file replacement case when original code not found - Extract complete line ranges in diffAnalyzer (not just changed lines) - Ensures originalCode matches actual document content for replacement Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>4f7b015 -
feat: add individual vulnerability detection and display
Unknown-Geek +1: Claude Opus 4.6- Add diffAnalyzer.js to extract individual vulnerabilities by comparing original vs corrected code - Detect vulnerability types: SQL Injection, Command Injection, XSS, Path Traversal, Hardcoded Credentials, etc. - Update /api/scan-file to return individual vulnerabilities with line numbers, type, severity, and specific fixes - Add /api/stored-vulnerabilities and /api/apply-individual-fix endpoints - Update tree view to show each vulnerability with type and line number - Add severity badges with color coding (critical/high/medium/low) - Show vulnerable code vs fixed code in expandable tree items - Support applying fixes individually or all at once Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>f8e3ab3 -
Add Hugging Face Spaces deployment files
Unknown-Geek +1: Claude Opus 4.6- Add Dockerfile for containerization - Add .dockerignore to exclude unnecessary files - Add DEPLOYMENT.md with step-by-step guide - Update README.md for HF Spaces with metadata - Add configurable backend URL in VS Code extension - Update package.json with backend URL setting Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>4a1c4dc
-
feat: persist scan results + Apply Stored Fix command
Shravan Pandalade4dcb4 -
feat: add real-time scan toggle, .vscodeignore, LICENSE, updated README with install & usage guide
Shravan Pandala39e682f -
refactor: restore src/ for extension, server/ for backend — clean root
Shravan Pandala113fc23 -
refactor: move src/ files to root, update tsconfig.json
Shravan Pandalac4516ea -
refactor: restructure project - move server files to root, merge package.json, rewrite .gitignore
Shravan Pandala13fb9f7