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
41 lines
1.1 KiB
TypeScript
41 lines
1.1 KiB
TypeScript
/**
|
|
* 🧠 BRAINY EMBEDDED PATTERNS
|
|
*
|
|
* AUTO-GENERATED - DO NOT EDIT
|
|
* Generated: 2025-09-09T17:55:32.179Z
|
|
* Patterns: 220
|
|
* Coverage: 94-98% of all queries
|
|
*
|
|
* This file contains ALL patterns and embeddings compiled into Brainy.
|
|
* No external files needed, no runtime loading, instant availability!
|
|
*/
|
|
import type { Pattern } from './patternLibrary.js';
|
|
export declare const EMBEDDED_PATTERNS: Pattern[];
|
|
/**
|
|
* Get pattern embeddings as a Map for fast lookup
|
|
* This is called once at startup and cached
|
|
*/
|
|
export declare function getPatternEmbeddings(): Map<string, Float32Array>;
|
|
export declare const PATTERNS_METADATA: {
|
|
version: string;
|
|
totalPatterns: number;
|
|
categories: string[];
|
|
domains: string[];
|
|
embeddingDimensions: number;
|
|
averageConfidence: number;
|
|
coverage: {
|
|
general: string;
|
|
programming: string;
|
|
ai_ml: string;
|
|
social: string;
|
|
medical_legal: string;
|
|
financial_academic: string;
|
|
ecommerce: string;
|
|
overall: string;
|
|
};
|
|
sizeBytes: {
|
|
patterns: number;
|
|
embeddings: number;
|
|
total: number;
|
|
};
|
|
};
|