Repository navigation
Release: v1.0.0 — Knowledge Base Explorer
·
12946 commits
to master
since this release
Tag: v1.0.0
Branch: master
What's new
This release completes the full Knowledge Base Explorer milestone, turning the RAG chat assistant into an agent that navigates your document library the way Claude Code navigates a codebase.
Explorer Sub-Agent (Phase 7)
- New Explorer mode in the chat toolbar — switch between General and Explorer with a single click.
- Dedicated sub-agent activates with a focused system prompt and KB-only tools (no web search, no SQL).
- Automatic reset to General mode when switching threads or opening a new chat.
- Backend branching: Sends
agent_modein the POST body to select tools and system prompt.
Knowledge Base Navigation Tools (Phases 1–6)
ls— list immediate folder contents by path.tree— recursive folder hierarchy with depth limiting.grep— regex search over extracted document markdown.glob— filename pattern matching with**recursive support.read_document— read full document or a specific line range by document ID.- Security: All tools respect RLS — users see only their own + global folders.
Folder System (Phases 1–3)
- Hierarchical folder tree with adjacency list, cascade deletes, and RLS.
- Documents can be assigned to folders on upload or moved after ingestion.
- Folder tree UI in the ingestion page with Realtime sync.
- Global folders visible to all users; per-user folders are private.
Bug Fixes
- Agent mode now resets to General when opening a new chat or switching threads.
- Fixed stale closure in auto-naming: thread titles now generate correctly when starting a new chat in any mode.
Modules included in this build
| Module | Description |
|---|---|
| 1 | App shell — auth, threads, streaming chat |
| 2 | BYO retrieval — embeddings, pgvector, agentic tool loop |
| 3 | Record manager — SHA-256 dedup, replace-stale logic |
| 4 | Metadata extraction — structured LLM output per document |
| 5 | Multi-format support — PDF, DOCX, HTML, Markdown |
| 6 | Hybrid search & reranking — RRF fusion, Cohere/local reranker |
| 6.1 | Settings UI — read-only dashboard for LLM, embedding, retrieval config |
| 6.2 | Settings architecture — global app_settings table, env-driven config |
| 7 | Additional tools — Text-to-SQL, web search (Tavily), multi-file upload |
| 8 | Sub-agents — analyze_document tool with live streaming preview |
| KB Explorer | Folder system, navigation tools, search tools, read tool, explorer mode |
Stack
React · Vite · Tailwind · shadcn/ui · FastAPI · Supabase (Postgres + pgvector + Auth + Realtime) · OpenRouter · LangSmith