universal-life-protocol-core
Version:
Revolutionary AI framework implementing living, conscious digital reality with meta-cognitive reasoning, attention economics, and autonomous learning
33 lines • 1.25 kB
TypeScript
import { SignedMessage, CUE_Event, EntityState } from './types.js';
import { CepEngine } from './cep-engine.js';
import { ClarionMduAgent } from './clarion-mdu-agent.js';
export declare class CuePeer {
private stateFilePath;
readonly credentialId: string;
private privateKey;
private entityStates;
private ctl?;
private cep;
private agent?;
private eventBroadcastCallback?;
constructor(stateFilePath: string);
private loadOrGenerateIdentity;
private saveState;
private setupCepRules;
initializeCtl(validatorIds: string[]): void;
runCtlConsensusRound(roundSeed: string): void;
hostAgent(agentId: string): void;
runAgentDecision(agentId: string): void;
initializeEntity(entityId: string, domains?: {
[key: string]: number;
}): void;
updateEntityState(entityId: string): void;
sign<T>(payload: T): SignedMessage<T>;
broadcast(event: CUE_Event): void;
setBroadcastCallback(callback: (event: CUE_Event) => void): void;
processIncomingEvent(signedEvent: SignedMessage<CUE_Event>): boolean;
getEntityStates(): Map<string, EntityState>;
getCepEngine(): CepEngine;
getAgent(): ClarionMduAgent | undefined;
}
//# sourceMappingURL=cue-peer.d.ts.map