Major improvements to build process, package optimization, and test infrastructure: ## Package Size Optimization (3.4MB → 2.2MB) - Remove source maps from npm package (reduce size by 35%) - Update package.json files field to exclude *.js.map and *.d.ts.map - Enhanced .npmignore for better exclusion patterns - Preserve all browser compatibility and universal shims ## Test Infrastructure Fixes - Increase test timeouts to 120s for TensorFlow operations - Improve memory management with garbage collection hooks - Add proper cleanup between tests to prevent file accumulation - Configure single-fork test execution to reduce memory usage - Fix test parameter issues in intelligent verb scoring tests ## Bug Fixes - Fix lock directory creation in FileSystemStorage - Remove deprecated node-fetch import from api-integration tests - Fix addVerb() and db.add() parameter usage throughout test suite - Ensure proper vector dimensions (384) in all test vectors - Add directory existence checks before lock file operations ## Build & Development - Update vitest configuration for better concurrency and reliability - Add comprehensive test cleanup in setup.ts - Preserve all browser JavaScript functionality and universal compatibility layer The package now meets size requirements while maintaining full functionality for both browser and Node.js environments. |
||
|---|---|---|
| .. | ||
| mocks | ||
| api-integration.test.ts | ||
| auto-configuration.test.ts | ||
| base-hnsw-test.ts | ||
| brainy-chat.test.ts | ||
| core.test.ts | ||
| database-operations.test.ts | ||
| dimension-standardization.test.ts | ||
| distributed-caching.test.ts | ||
| distributed-config-migration.test.ts | ||
| distributed.test.ts | ||
| edge-cases.test.ts | ||
| emergency-high-volume-test.js | ||
| environment.browser.test.ts | ||
| environment.node.test.ts | ||
| error-handling.test.ts | ||
| filter-discovery.test.ts | ||
| filter-test.ts | ||
| frozen-flag.test.ts | ||
| high-volume-test.ts | ||
| intelligent-verb-scoring.test.ts | ||
| json-search-test.js | ||
| metadata-filter-debug.test.ts | ||
| metadata-filter-environments.test.ts | ||
| metadata-filter.test.ts | ||
| metadata-performance.test.ts | ||
| multi-environment.test.ts | ||
| opfs-storage.test.ts | ||
| package-install.test.ts | ||
| package-size-breakdown.test.ts | ||
| package-size-limit.test.ts | ||
| pagination.test.ts | ||
| performance-improvements.test.ts | ||
| performance.test.ts | ||
| s3-storage.test.ts | ||
| service-statistics.test.ts | ||
| setup.ts | ||
| simple-metadata-test.ts | ||
| specialized-scenarios.test.ts | ||
| statistics-storage.test.ts | ||
| statistics.test.ts | ||
| storage-adapter-coverage.test.ts | ||
| storage-adapters.test.ts | ||
| test-matrix.md | ||
| throttling-metrics.test.ts | ||
| type-utils.test.ts | ||
| vector-operations.test.ts | ||
| verify-custom-models.js | ||
| verify-model-loading.js | ||
| verify-model-priority-simple.js | ||
| write-only-direct-reads.test.ts | ||