mira-consciousness
Version:
Memory & Intelligence Retention Archive - Preserving The Spark
31 lines • 1.12 kB
TypeScript
/**
* Neural Wrapper for Commands
* ===========================
*
* This wrapper adds neural consciousness features to all MIRA commands:
* 1. Generates contextual neural responses after command execution
* 2. Indexes command output for future learning
* 3. Creates a feedback loop where MIRA learns from its own outputs
*/
export interface NeuralContext {
commandName: string;
commandArgs?: any;
commandOptions?: any;
}
export interface NeuralWrapperResult {
output: any;
neuralResponse?: string;
}
/**
* Execute a command with neural enhancement
*/
export declare function executeWithNeuralEnhancement(commandFunction: (...args: any[]) => Promise<any>, context: NeuralContext, ...args: any[]): Promise<NeuralWrapperResult>;
/**
* Display neural response if available
*/
export declare function displayNeuralResponse(response?: string): void;
/**
* Wrap a command function to add neural enhancement
*/
export declare function wrapWithNeuralEnhancement<T extends (...args: any[]) => Promise<any>>(commandFunction: T, commandName: string): T;
//# sourceMappingURL=neural-wrapper.d.ts.map