UNPKG

@kya-os/cli

Version:

CLI for KYA-OS MCP-I setup and management

87 lines 2.74 kB
/** * Agent Avatar Component * Generates deterministic avatars for agents using DiceBear API * * Note: Image quality depends on terminal capabilities: * - iTerm: Shows full-resolution images with special image support * - Other terminals: Shows ASCII approximation patterns * The value is in uniqueness and determinism - same DID always produces the same visual representation. */ export interface AgentAvatarOptions { did: string; claimed?: boolean; size?: number; width?: number | string; height?: number | string; style?: string; level?: AgentLevel; } /** * Agent Development Level - represents how "evolved" the agent is */ export interface AgentLevel { claimed: boolean; verified?: boolean; hasGithub?: boolean; hasDescription?: boolean; handshakeComplete?: boolean; } /** * KYA-OS Symbol Library * Professional iconography system for agent states and levels */ export declare const KYA_SYMBOLS: { readonly CORE: "⬢"; readonly VERIFIED: "◊"; readonly NETWORK: "∞"; readonly ENERGY: "⚡"; readonly SHIELD: "🛡"; readonly STATES: { readonly DORMANT: "⬢"; readonly ACTIVE: "⬢⚡"; readonly VERIFIED: "⬢◊"; readonly NETWORKED: "⬢◊∞"; readonly SOVEREIGN: "⬢◊∞⚡"; }; readonly STATUS: { readonly UNCLAIMED: "⬢"; readonly CLAIMED: "⬢⚡"; readonly VERIFIED: "⬢◊⚡"; readonly ENHANCED: "⬢◊∞"; readonly COMPLETE: "⬢◊∞⚡"; }; readonly PATTERNS: { readonly NODE: "●"; readonly CONNECTION: "━"; readonly BRANCH: "┳"; readonly ENDPOINT: "◉"; }; }; /** * Generate cyberpunk avatar URL using DiceBear Shapes API * Creates geometric patterns that evolve as the agent develops */ export declare function generateAvatarUrl(options: AgentAvatarOptions & { level?: AgentLevel; }): string; /** * Fetch and display agent avatar in terminal */ export declare function showAgentAvatar(options: AgentAvatarOptions): Promise<string>; /** * Get agent avatar as ASCII fallback (for environments without image support) */ export declare function getAvatarEmoji(claimed?: boolean): string; /** * Create a compact avatar display with DID info */ export declare function createAvatarCard(options: AgentAvatarOptions): Promise<string>; /** * Get sophisticated agent symbol based on development level */ export declare function getAgentSymbol(level: AgentLevel): string; /** * Get agent avatar as sophisticated fallback (replaces basic emoji) */ export declare function getAvatarSymbol(claimed?: boolean, level?: AgentLevel): string; //# sourceMappingURL=agent-avatar.d.ts.map