- Flag Names: Renamed
--embeddingsto--with-embeddingsand added--chunks-onlyflag for clarity - Embedding Model: Upgraded from
text-embedding-ada-002totext-embedding-3-large(3072 dimensions) - Payload Structure: Enhanced to support chunks array with
hasEmbeddingsflag for external server integration - Upload Command: Added
--chunks-onlyand--with-embeddingsflags to upload command - Search URL:
EXTERNAL_KB_SEARCH_URLis now required (no auto-generation) for external server search operations
- Chunks Support:
--chunks-onlyflag to create chunks locally (useful with external server) - Processing Modes Table: Added comprehensive table in README showing all mode/flag combinations
- Early Validation: OpenAI API key and external server validation before processing starts
- Validation Utilities: Centralized validation functions in
validation-utils.jsto eliminate code duplication - Server Health Check: External server validation now includes
/healthendpoint check before processing - Separate Search URL:
EXTERNAL_KB_SEARCH_URLenvironment variable for independent search endpoint configuration
- Improved error handling for invalid API keys and server authentication failures
- Better error messages with actionable guidance
- Removed duplicate error logging in validation flow
- Search command now requires explicit
EXTERNAL_KB_SEARCH_URLwhen using external server
- Notion Integration: Import Notion pages and databases directly into knowledge base
- CLI Options:
--source=notion,--notion-url,--notion-keyfor Notion integration - Auto-detection: Automatically detects page vs database from URL
- External Server Support: Send Notion content to assistant-server
- Documentation: Complete guide in docs/NOTION_INTEGRATION.md
- Documentation: Moved detailed guides to
docs/folder with absolute GitHub URLs - Notion API: Updated to API v5 (2025-09-03) with data sources support
- Added
@notionhq/client@^5.3.0
- π§ External Server Configuration: Removed
USE_EXTERNAL_KBflag - external server mode is now automatically enabled whenEXTERNAL_KB_URLis set - π API Key Authentication: Added
EXTERNAL_KB_API_KEYenvironment variable support - API key is automatically sent inx-api-keyheader when provided - π Simplified Configuration: External server mode now requires only
EXTERNAL_KB_URL- no separate enable flag needed - π Automatic Fallback: If
EXTERNAL_KB_URLis not set, tool automatically falls back to local processing mode - ποΈ Removed UUID Fields: Removed
company_uuidandcreated_by_uuidfrom document processing payload - company/user information is now automatically detected from API key - ποΈ Removed UUID from Search: Removed
company_uuidfrom search payload - company information is now automatically detected from API key
- β Removed:
USE_EXTERNAL_KBenvironment variable is no longer used - β Removed:
EXTERNAL_KB_COMPANY_UUIDenvironment variable is no longer used - β Removed:
EXTERNAL_KB_CREATED_BY_UUIDenvironment variable is no longer used - β
Migration: Simply set
EXTERNAL_KB_URLinstead of bothUSE_EXTERNAL_KB=trueandEXTERNAL_KB_URL - β
Payload Changes: Document processing payload no longer includes
company_uuidorcreated_by_uuidfields - β
Search Payload Changes: Search payload no longer includes
company_uuidfield
- π API Key Support: New
EXTERNAL_KB_API_KEYenvironment variable for authenticating with external servers - π Updated Documentation: Revised README.md and EXTERNAL_SERVER_ENV.md to reflect new configuration approach
- π External Server Integration: Added support for external knowledge base processing and search
- π§ External Server Configuration: New
external-server-config.jsfor centralized configuration management - π External Server Service: New
external-server-service.jsfor API communication with external servers - π External Server Documentation: Added
EXTERNAL_SERVER_ENV.mdwith comprehensive setup guide - π Hybrid Mode: Automatic fallback to local processing if external server fails
- βοΈ Environment Variables: Support for
USE_EXTERNAL_KB,EXTERNAL_KB_URL,EXTERNAL_KB_SEARCH_URL, etc. - π― Assistant Server: Integration with vezlo/assistant-server for immediate testing
- π€ Generator: Enhanced
kb-generator.jswith external server processing capability - π Search: Enhanced
search.jswith external server search integration - π― Progress Indicators: Added better visual feedback and progress tracking for file processing
- π URL Generation: Smart URL generation for search endpoints from base URLs
- External Processing: Send code files to external servers for chunking and embedding generation
- External Search: Query external knowledge bases via REST API
- Retry Logic: Configurable retry attempts and delays for external server communication
- Timeout Handling: Request timeout management for external server calls
- Payload Customization: Configurable payload structure for external server integration
- π Integration Guide: Added comprehensive section for Next.js/React integration
- π Quick Start: Added fast-track setup for existing projects
- π‘ Usage Examples: Added React component examples and integration patterns
- π’ Enterprise Setup: Added production deployment guidance
- π CI/CD Examples: Added GitHub Actions integration example
- React component code examples for search integration
- Multiple integration patterns (onboarding, documentation, code review)
- Enterprise deployment configurations
- π§ Swagger Documentation: All API endpoints now properly display in Swagger UI
- π API Spec: Created separate swagger-spec.js with complete OpenAPI specification
- π οΈ Endpoint Paths: Fixed path definitions for proper Swagger rendering
- Enhanced API documentation with request/response examples
- Better organization of endpoints by category
- Added comprehensive schemas for all data models
- π REST API Server: Comprehensive REST API with Swagger/OpenAPI documentation
- π Interactive API Docs: Swagger UI available at
/api/v1/docs - π API Authentication: Optional API key authentication via
X-API-Keyheader - β‘ Async Processing: Background knowledge base generation with status tracking
- π File Upload: Process individual files via multipart upload
- π Advanced Search API: Search endpoints with mode selection support
- π Statistics Endpoints: Get detailed KB analytics via API
- π‘οΈ Security Middleware: Rate limiting, Helmet, CORS, compression
- π API Documentation: Complete API_DOCUMENTATION.md with examples
- New CLI command:
src-to-kb-apito start REST API server - All core functionality exposed via REST endpoints
- Support for JavaScript, Python, cURL clients
- WebSocket support planned for future releases
- π― Answer Modes: Three distinct modes for different user types
enduser- Simplified, non-technical answersdeveloper- Full technical details with architecture info (default)copilot- Code-focused answers with implementation examples
- π Mode-based Filtering: Each mode filters results appropriately
- π‘ Custom AI Prompts: Tailored prompts for each mode
- π Mode Selection:
--modeflag for search command - π Modes Command: New
modescommand to list available modes
- Search now displays current mode when executing
- AI answers are formatted based on selected mode
- Result filtering excludes test files for end users
- Enhanced search relevance based on user type
- Added comprehensive Answer Modes section to README
- Updated examples to showcase different modes
- Added mode usage in Complete Example Workflow
- π CONTRIBUTING.md: Guidelines for contributing to the project
- π¬ GitHub Discussions: Enabled for community Q&A and feature requests
- π€ Contribution Guide: Clear instructions for reporting issues and submitting PRs
- Updated license reference from MIT to AGPL-3.0 in contributing docs
- Added code of conduct for community interactions
- Fixed MCP server installation instructions for better compatibility
- Added explicit node path instructions for MCP setup
- Updated troubleshooting guide with "Failed to connect" solutions
- Improved MCP installation guide with platform-specific paths
- Added instructions to find global npm installation path
- Enhanced troubleshooting section for connection issues
- Fixed GPT-5 text extraction from deeply nested response structure
- GPT-5 responses now properly extract from
output[1].content[0].text - Cleaned up debug logging for cleaner output
- GPT-5 integration now fully functional with correct response parsing
- Updated to use GPT-5 with the correct Responses API (
/v1/responses) - Using GPT-5's reasoning capabilities with
mediumeffort for balanced performance - Added debug logging for API key detection
- Improved error messages for API failures
- AI-powered search now properly uses GPT-5's Responses API format
- Correctly handles GPT-5 response structure (
output_textinstead ofchoices)
- Re-release to update npm package with syntax fix
- Fixed syntax error in search.js (removed extra closing brace)
- Updated to use GPT-5 model for AI-powered search
- AI-Powered Search: Use OpenAI GPT-5 to intelligently understand queries and generate helpful answers
- Automatic fallback to basic search when OPENAI_API_KEY is not set
- Context-aware answers that understand typos, variations, and intent
- Search command now properly excludes --kb flag value from query string
- Improved argument parsing to handle flags in any position
- Clarified usage of separate commands (src-to-kb vs src-to-kb-search)
- Added complete workflow examples showing two-step process
- Updated MCP installation for Claude Code's new CLI commands
- Added --kb parameter examples for all search operations
- Much better search answers: Intelligent, context-aware responses for common queries
- Smart detection of password reset, authentication, API, database, and UI queries
- Structured answers with clear file locations, explanations, and actionable information
- Clearer error messages when commands are used incorrectly
- Better distinction between generate and search functionality
- Re-release of 1.1.2 with proper npm publishing
- Updated MCP installation instructions for Claude Code's new
claude mcp addcommand - Simplified MCP setup documentation with direct CLI commands
- Removed complex auto-installer in favor of simple manual command
- Fixed
--helpflag not working properly - Added
--versionflag support - Help text now shows correct command names (src-to-kb instead of node kb-generator.js)
- CLI arguments properly handled
- Fixed
--embeddingsflag being treated as repository path
- Added "Available Commands" section to README for clarity
- Clarified that search uses
src-to-kb-searchnotsrc-to-kb search - Added more usage examples in Quick Start section
- Reorganized codebase structure for cleaner package
- Moved development scripts to
scripts/directory - Reduced npm package size by excluding non-essential files
- Fixed test script paths for new structure
- Root directory now contains only essential executable files
- Development utilities moved to scripts/ (excluded from npm package)
- Cleaner, more professional package organization
- π Automatic MCP Installer - One-command installation with
npx @vezlo/src-to-kb install-mcp - π§ MCP Management Commands - Status check, API key update, and uninstall options
- π Comprehensive MCP Tools Guide - Detailed documentation for all 5 MCP tools
- π― Simplified Setup - No manual config file editing required
- Cross-platform installer (macOS, Windows, Linux)
- Automatic Claude configuration detection
- Config backup before modifications
- Optional OpenAI API key configuration
- Clean uninstall option
- Added MCP_TOOLS_GUIDE.md with detailed tool reference
- Updated README with simplified installation instructions
- Enhanced MCP_SETUP.md with automatic installation option
- π Multi-language support for 20+ programming languages
- π Smart chunking with configurable overlap
- π§Ή Code cleaning with optional comment removal
- π’ Optional OpenAI embeddings for semantic search
- π Comprehensive codebase statistics
- π‘ AI-powered natural language search
- π€ MCP server for Claude Code and Cursor integration
- π¦ Published to npm as @vezlo/src-to-kb
src-to-kb- Generate knowledge basessrc-to-kb-search- Search with natural languagesrc-to-kb-mcp- MCP server for IDE integration
- Dual-licensed: AGPL-3.0 for non-commercial use
- Commercial license available for business use