- Create universal adapters for cross-platform support (browser/Node/serverless) - Replace Node.js-specific imports with universal implementations - Add OPFS support for browser persistent storage - Maintain same BrainyData interface across all environments - Enable real Brainy usage in browser console UI - Keep package size optimized (no bloat) Universal adapters in /src/universal/: - uuid.ts: Cross-platform UUID generation - crypto.ts: Browser/Node crypto operations - fs.ts: OPFS/FileSystem/Memory storage adapter - path.ts: Universal path operations - events.ts: EventEmitter compatibility layer This enables 'write once, run anywhere' for Brainy while maintaining the exact same API. No breaking changes to existing code.
5 lines
No EOL
105 B
Text
5 lines
No EOL
105 B
Text
{
|
|
"model": "Xenova/all-MiniLM-L6-v2",
|
|
"bundledAt": "2025-08-08T19:50:05.332Z",
|
|
"version": "1.0.0"
|
|
} |