Files
AIclinicalresearch/git-fix-lock.ps1
HaHafeng 5a17d096a7 feat(pkb): Complete PKB module frontend migration with V3 design
Summary:
- Implement PKB Dashboard and Workspace pages based on V3 prototype
- Add single-layer header with integrated Tab navigation
- Implement 3 work modes: Full Text, Deep Read, Batch Processing
- Integrate Ant Design X Chat component for AI conversations
- Create BatchModeComplete with template selection and document processing
- Add compact work mode selector with dropdown design

Backend:
- Migrate PKB controllers and services to /modules/pkb structure
- Register v2 API routes at /api/v2/pkb/knowledge
- Maintain dual API routes for backward compatibility

Technical details:
- Use Zustand for state management
- Handle SSE streaming responses for AI chat
- Support document selection for Deep Read mode
- Implement batch processing with progress tracking

Known issues:
- Batch processing API integration pending
- Knowledge assets page navigation needs optimization

Status: Frontend functional, pending refinement
2026-01-06 22:15:42 +08:00

31 lines
579 B
PowerShell

# Fix Git lock file issue
# Remove stale lock file and retry commit
cd D:\MyCursor\AIclinicalresearch
Write-Host "Checking for Git lock file..." -ForegroundColor Yellow
$lockFile = ".git/index.lock"
if (Test-Path $lockFile) {
Write-Host "Found stale lock file. Removing..." -ForegroundColor Yellow
Remove-Item $lockFile -Force
Write-Host "Lock file removed successfully!" -ForegroundColor Green
} else {
Write-Host "No lock file found." -ForegroundColor Green
}
Write-Host ""
Write-Host "Now you can run git commands again." -ForegroundColor Cyan