project-nomad/admin/start
Benjamin Smith c8db402cd0
feat(KnowledgeBase): add document viewer, download, metadata, and sorting (#721)
Rebuilt on top of dev's RFC #883 state-machine UI rather than the now-defunct
StoredFile shape:

- Extend StoredFileInfo with fileName/size/uploadedAt/isUserUpload
- Populate metadata from on-disk stats in RagService.getStoredFiles
- Add fileSourceSchema validator + getFileContent/downloadFile endpoints
  scoped to the uploads directory only (tighter than the original PR — matches
  docs_service traversal pattern)
- KnowledgeBaseModal: sortable Size and Uploaded columns; View/Download
  buttons on upload-bucket rows; new FileViewerModal for in-browser text
  preview. Bucket grouping preserved — sort applies within each bucket.
- Use formatBytes from ~/lib/util rather than redefining
2026-06-19 21:42:17 -07:00
..
env.ts feat(config): respect REDIS_DB env var for queue and transmit 2026-06-07 15:11:22 -07:00
kernel.ts feat: gzip compression by default for all registered routes 2026-04-03 14:26:50 -07:00
routes.ts feat(KnowledgeBase): add document viewer, download, metadata, and sorting (#721) 2026-06-19 21:42:17 -07:00