chittycan
Version:
Your completely autonomous network that grows with you - DNA ownership platform with encrypted vaults, PDX portability, and ChittyFoundation governance
37 lines • 1.09 kB
TypeScript
/**
* Smart Command Predictions - AI-Powered Next Command Suggestions
*
* Predicts your next command based on:
* - Time of day patterns
* - Command sequences
* - Current working directory
* - Recent git activity
* - Day of week patterns
*/
export interface Prediction {
command: string;
confidence: number;
reason: string;
suggestedNL: string;
}
export interface PredictionContext {
timeOfDay: "morning" | "afternoon" | "evening" | "night";
dayOfWeek: number;
currentDir: string;
recentCommands: string[];
gitBranch?: string;
gitStatus?: string;
}
/**
* Get current context for predictions
*/
export declare function getCurrentContext(): PredictionContext;
/**
* Predict next commands based on AI + patterns
*/
export declare function predictNextCommands(context: PredictionContext, limit?: number): Promise<Prediction[]>;
/**
* Get AI-enhanced predictions using configured AI remote
*/
export declare function getAIPredictions(context: PredictionContext, stats: any): Promise<Prediction[]>;
//# sourceMappingURL=smart-predictions.d.ts.map