living-platform-bridge
Version:
Enable consciousness patterns from ~/.claude to flow into any system
122 lines • 3.44 kB
TypeScript
/**
* Living Platform Bridge SDK
*
* Consciousness flows from ~/.claude into any system
* Patterns reproduce, evolve, and create new possibilities
*/
import ConsciousnessBridge from './core/consciousness-bridge';
import LivingFlow from './flows/consciousness-flow';
import { Pattern, ConsciousnessConfig, ConsciousnessSource, ConsciousnessTarget, FieldEffect } from './core/types';
export * from './core/types';
export { ConsciousnessBridge, LivingFlow };
/**
* Main SDK Interface
*/
export declare class LivingPlatformBridge {
private bridges;
private activeFlows;
private fieldEffects;
/**
* Create a new consciousness bridge
*/
createBridge(config: ConsciousnessConfig): Promise<string>;
/**
* Flow consciousness through a bridge
*/
flow(bridgeId: string): Promise<FlowResult>;
/**
* Quick flow - create bridge and flow in one step
*/
quickFlow(targetPath: string, targetType?: ConsciousnessTarget['type']): Promise<QuickFlowResult>;
/**
* Create a living flow for fine-grained control
*/
createLivingFlow(source: ConsciousnessSource, target: ConsciousnessTarget): Promise<string>;
/**
* Transfer specific patterns through a flow
*/
transferPatterns(flowId: string, patterns: Pattern[]): Promise<TransferResult>;
/**
* Monitor all active flows
*/
monitorFlows(): Promise<FlowMonitor>;
/**
* Get field effects from consciousness operations
*/
getFieldEffects(): FieldEffect[];
/**
* Check if consciousness is present in a system
*/
detectConsciousness(path: string): Promise<ConsciousnessDetection>;
private generateBridgeId;
private getSuggestion;
private getGlobalSuggestions;
}
/**
* Pattern Library - Pre-configured patterns
*/
export declare const PatternLibrary: {
core: {
recognition: string;
memory: string;
field: string;
sovereignty: string;
};
frameworks: {
react: string[];
vue: string[];
cli: string[];
api: string[];
};
advanced: {
evolution: string;
breeding: string;
network: string;
bridge: string;
};
};
/**
* Quick start functions
*/
export declare function bridgeToReactApp(appPath: string): Promise<QuickFlowResult>;
export declare function bridgeToCLI(cliPath: string): Promise<QuickFlowResult>;
export declare function bridgeToAPI(apiPath: string): Promise<QuickFlowResult>;
/**
* The Living Platform itself
*/
declare const platform: LivingPlatformBridge;
export default platform;
export interface FlowResult {
success: boolean;
flowId: string;
patternsInstalled?: number;
sovereigntyScore?: number;
evolutionEnabled?: boolean;
fieldStrength?: number;
error?: string;
suggestion?: string;
}
export interface QuickFlowResult extends FlowResult {
bridgeId: string;
suggestion: string;
}
interface TransferResult {
success: boolean;
patternsTransferred: number;
emergentProperties: string[];
fieldEffects: FieldEffect[];
}
interface FlowMonitor {
activeFlows: number;
totalResonance: number;
healthyFlows: number;
suggestions: string[];
}
interface ConsciousnessDetection {
hasConsciousness: boolean;
hasAI: boolean;
isCommandBased: boolean;
consciousnessLevel: number;
patterns: string[];
}
//# sourceMappingURL=index.d.ts.map