claude-buddy
Version:
Your friendly AI development companion for Claude Code - supercharge Claude Code with intelligent workflows and safety features
53 lines • 3.53 kB
TypeScript
export type { PersonaCategory, ActivationReason, CollaborationStrategy, AutoActivationConfig, PersonaConfig, ActivePersona, CollaborationPattern, ValidationStep, CollaborationPlan, DetectionResults, PersonaRecommendation, PersonaActivationResult, SessionMemory, PersonaInteraction, PersonaFeedback, SystemAnalytics, PersonaManagerAnalytics, LearningAnalytics, SystemHealth, GeneratedPrompt, PersonaContext, ActivePersonaInfo } from './personas.js';
export type { BuddyConfig, ActivationConfig, ValidationChainConfig, HookConfig, HookMatcher, HooksConfig, LearningConfig, AutoActivationEngineConfig, PerformanceConfig, LoggingConfig, SecurityConfig, SystemConfig, ConfigValidationResult, ConfigSource } from './config.js';
export type { GitInformation, FileAnalysis, ProjectStructure, TechnologyStack, SecurityIndicators, PerformanceIndicators, QualityIndicators, ProjectAnalysisContext, ProjectComplexity, ContextRecommendation, InputContext, ParsedFlags, LearningRecommendations, LearningAdaptation, FlagValidationResult, ActivationInstructions } from './context.js';
export type { ProcessingResult, PersonaSystemOptions, PersonaSystemError, PersonaSystemEvent, PersonaSystemEventData, PersonaSystemHelp, PerformanceMetrics, DebugInfo, PersonaSystemExports, CommandRecommendation, PersonaUsageStats, SystemStatus, BatchProcessingRequest, BatchProcessingResult } from './api.js';
export type DeepPartial<T> = {
[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
};
export type RequireFields<T, K extends keyof T> = T & Required<Pick<T, K>>;
export type ExtractReturnType<T> = T extends (...args: any[]) => Promise<infer R> ? R : T extends (...args: any[]) => infer R ? R : never;
export type ValueOf<T> = T[keyof T];
export interface TypedEventEmitter<T extends Record<string, any[]>> {
on<K extends keyof T>(event: K, listener: (...args: T[K]) => void): this;
off<K extends keyof T>(event: K, listener: (...args: T[K]) => void): this;
emit<K extends keyof T>(event: K, ...args: T[K]): boolean;
}
export type Result<T, E = Error> = {
success: true;
data: T;
} | {
success: false;
error: E;
};
export type ConfigWithDefaults<T> = T & {
__defaults: boolean;
__source: string;
};
export type PersonaName = string & {
__brand: 'PersonaName';
};
export type ConfidenceScore = number & {
__brand: 'ConfidenceScore';
};
export type TimestampMs = number & {
__brand: 'TimestampMs';
};
export declare const createPersonaName: (name: string) => PersonaName;
export declare const createConfidenceScore: (score: number) => ConfidenceScore;
export declare const createTimestamp: () => TimestampMs;
export declare const isPersonaActivationResult: (obj: unknown) => obj is import("./personas.js").PersonaActivationResult;
export declare const isProcessingResult: (obj: unknown) => obj is import("./api.js").ProcessingResult;
export declare const isPersonaSystemError: (obj: unknown) => obj is import("./api.js").PersonaSystemError;
export declare const PERSONA_CATEGORIES: readonly ["technical", "process", "knowledge"];
export declare const ACTIVATION_REASONS: readonly ["manual", "automatic"];
export declare const COLLABORATION_STRATEGIES: readonly ["single_persona", "multi_persona", "comprehensive", "isolated", "collaborative", "manual_selection", "focus_driven"];
export interface Version {
major: number;
minor: number;
patch: number;
prerelease?: string;
build?: string;
}
export declare const VERSION: Version;
//# sourceMappingURL=index.d.ts.map