CRITICAL CHECKPOINT - DO NOT PUSH TO GITHUB Recovery Status: - Successfully recovered brainy.ts from compiled JavaScript - All core v3.0 API methods functional (add, get, update, delete, relate, find, etc.) - Neural subsystem intact (562KB embedded patterns, NLP working) - Augmentation pipeline operational (20+ augmentations) - HNSW clustering system complete - Triple Intelligence compiled (needs constructor fix) - Test suite validates functionality Changes preserved: - 898 files with changes from last 3 days - 144,475 insertions - All augmentation improvements - All test coverage enhancements - Complete v3.0 feature set This is a LOCAL checkpoint only - contains recovered work after corruption incident. Created backup in .backups/brainy-full-20250910-151314.tar.gz Branch: recovery-checkpoint-20250910-151433 Date: Wed Sep 10 03:18:04 PM PDT 2025
27 lines
1,003 B
TypeScript
27 lines
1,003 B
TypeScript
/**
|
|
* Core Pattern Library with Pre-computed Embeddings
|
|
*
|
|
* This file is auto-generated by scripts/buildPatterns.ts
|
|
* DO NOT EDIT MANUALLY - edit src/patterns/comprehensive-library.json instead
|
|
*
|
|
* Storage strategy:
|
|
* - Patterns are bundled directly into Brainy for zero-latency access
|
|
* - Embeddings are pre-computed and stored as binary Float32Array
|
|
* - Total size: ~140KB (negligible for a neural library)
|
|
* - No external files needed, works in all environments
|
|
*/
|
|
import type { Pattern } from './patternLibrary.js';
|
|
export declare const CORE_PATTERNS: Pattern[];
|
|
export declare const PATTERN_EMBEDDINGS_BINARY: Uint8Array | null;
|
|
export declare function getPatternEmbeddings(): Map<string, Float32Array>;
|
|
export declare const PATTERNS_VERSION = "2.0.0";
|
|
export declare const PATTERNS_METADATA: {
|
|
totalPatterns: number;
|
|
categories: string[];
|
|
embeddingDimensions: number;
|
|
storageSize: {
|
|
patterns: string;
|
|
embeddings: string;
|
|
total: string;
|
|
};
|
|
};
|