Repository navigation
v1.5.2 — Extended Test Coverage, MCP Link Fixes & Cleanup
🚀 What's New in v1.5.2
🐛 Bug Fixes
- MCP
link_knowledgeTool: Fixed missingawaitoperators on asynchronous database queries inmcp-server/tools/identity_tools.js(linkFactToDocument,getLinksForDoc,listAllLinks), restoring correct JSON responses for document graph links. - Cloud Test Suite: Rewrote
tests/cloud/phase1_cloud.test.jsto test real exported API endpoints (loginWithApiToken,logoutFromCloud).
🧪 Extended Test Suite & Regression Coverage
- 3-Tier Chunker Unit Tests (
tests/unit/chunker.test.js): Added comprehensive unit tests forparseSections,extractMediumBlocks,createSmallChunks, andbuildTripleHierarchy(covering AST code splitting, large table batching, sentence windowing, and TOC generation). - RAG MCP Tools Integration Tests (
tests/integration/rag_mcp_tools.test.js): Added E2E integration tests running against a live JSON-RPC MCP server, covering 8 previously untested tools:ingest_documentquery_knowledge_basemanage_knowledge_base(stats,list,read_document,delete)get_factlink_knowledge(link,list_links,get_doc_links)
- Total test coverage expanded to 11 unified test suites (100% pass rate).
🧹 Repository Cleanup & Package Verification
- Removed legacy debug export scripts and JSON dumps.
- Cleaned up
.npmignoreandpackage.jsonscript declarations. - Verified clean npm package tarball (44 files, 116 kB).
Full Changelog: v1.5.1...v1.5.2