You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: VERSION_LOG.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,17 @@
1
-
## v0.8.8 - The Agentic Workspace Update
1
+
## v0.8.9 - The RAG Indexing & Transparency Fix
2
+
1:
3
+
2: ### 🐛 Fixes
4
+
3:
5
+
4: - **RAG Workspace Indexing**:
6
+
5: * Fixed a critical bug where workspace indexing would find documents but fail to process them (showing "0 documents processed").
7
+
6: * Corrected the `rag_vectors` virtual table schema by removing an unsupported `PRIMARY KEY` constraint.
8
+
7: * Added automated schema recovery logic to detect and report missing or broken vector tables.
9
+
8: - **Transparency & Feedback**:
10
+
9: * **Main Process Error Propagation**: Backend indexing errors are now captured and displayed directly in the Chat Panel log, providing clear feedback if document processing fails.
11
+
10: * **Enhanced Status Diagnostics**: The "Build Index" process now performs a pre-flight check of the database schema and reports specific configuration or initialization errors.
12
+
11: * **Detailed Content Logs**: Added diagnostic logging to identify documents that are skipped due to missing content or extraction failures.
Copy file name to clipboardExpand all lines: docs/VERSION_LOG.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,17 @@
1
-
## v0.8.8 - The Agentic Workspace Update
1
+
## v0.8.9 - The RAG Indexing & Transparency Fix
2
+
1:
3
+
2: ### 🐛 Fixes
4
+
3:
5
+
4: - **RAG Workspace Indexing**:
6
+
5: * Fixed a critical bug where workspace indexing would find documents but fail to process them (showing "0 documents processed").
7
+
6: * Corrected the `rag_vectors` virtual table schema by removing an unsupported `PRIMARY KEY` constraint.
8
+
7: * Added automated schema recovery logic to detect and report missing or broken vector tables.
9
+
8: - **Transparency & Feedback**:
10
+
9: * **Main Process Error Propagation**: Backend indexing errors are now captured and displayed directly in the Chat Panel log, providing clear feedback if document processing fails.
11
+
10: * **Enhanced Status Diagnostics**: The "Build Index" process now performs a pre-flight check of the database schema and reports specific configuration or initialization errors.
12
+
11: * **Detailed Content Logs**: Added diagnostic logging to identify documents that are skipped due to missing content or extraction failures.
This release focuses on resolving critical stability issues in the RAG (Retrieval-Augmented Generation) workspace indexing engine and improving the transparency of background operations.
6
+
7
+
### 🐛 Bug Fixes
8
+
9
+
-**RAG Workspace Indexing Fix**:
10
+
- Resolved a bug where the indexing process would successfully discover documents but fail to process any chunks, resulting in an empty index.
11
+
- Corrected the `rag_vectors` virtual table schema in the database initialization logic.
12
+
- Fixed a silent failure in the SQLite extension loading process that could cause transactions to roll back without user notification.
13
+
14
+
### ✨ Improvements
15
+
16
+
-**Error Visibility**:
17
+
- Indexing errors from the main process are now propagated to the renderer and displayed in the **Chat Panel log**.
18
+
- Added clear troubleshooting tips when indexing results in 0 processed documents (e.g., suggestions to check Ollama status).
19
+
-**Diagnostic Diagnostics**:
20
+
- The application now performs a detailed check of the RAG engine status on startup and when building the index, identifying missing tables or unsupported architectures.
21
+
-**Enhanced Logging**:
22
+
- Added document-level logging to track content retrieval and chunking, making it easier to identify why specific documents might be skipped.
23
+
24
+
---
25
+
*For a full history of changes, see the [Version Log](../../VERSION_LOG.md).*
consttableCheck=db.prepare("SELECT name FROM sqlite_master WHERE type='table' AND name='rag_vectors'").get();
1419
+
if(!tableCheck){
1420
+
return{
1421
+
success: false,
1422
+
error: 'The rag_vectors table is missing. This usually happens if the database was initialized with an invalid schema. You may need to reset your database if this persists.',
1423
+
};
1424
+
}
1425
+
1417
1426
consttotalRow=db.prepare('SELECT COUNT(*) as count FROM nodes WHERE node_type = \'document\'').get()as{count: number};
1418
1427
constindexedRow=db.prepare('SELECT COUNT(DISTINCT node_id) as count FROM rag_chunks').get()as{count: number};
0 commit comments