feat(knowledge): refactor Memory to Knowledge view with tabs and auto-close files
- Rename Memory to Knowledge throughout UI
- Add view switcher between Chat and Knowledge
- Add tabs for Core Memory, Archival Memory, and Files
- Move Files section from sidebar to Knowledge > Files tab
- Add closeAllFiles API call after file upload to prevent context flooding