ColossusLoggingAgenticEventListener

Colossus-themed event listener for agent events.

This class implements a logging event listener with a personality based on the Colossus supercomputer from the 1970 science fiction film "Colossus: The Forbin Project" (referenced by the IMDB URL in the constructor).

The listener is activated only when the "colossus" profile is active, and it provides themed logging messages for various agent events with a somewhat menacing, superior tone that mimics the Colossus AI from the film.

The welcome message displays ASCII art of the "COLOSSUS" name and a statement about machine superiority, styled with the Colossus color palette.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open val bannerWidth: Int
Link copied to clipboard
open override val colorPalette: ColorPalette

The color palette to use for this personality

Link copied to clipboard
open override val logger: <Error class: unknown class>

The logger to use for this personality

Functions

Link copied to clipboard
open fun lineSeparator(text: String, bannerChar: String, glyph: String = " ⇩ "): String
Link copied to clipboard
open override fun onPlatformEvent(event: AgentPlatformEvent)

An event relating to the platform or leading to the creation of an AgentProcess, such as the choice of a goal. No process is available at this point.

Link copied to clipboard
open override fun onProcessEvent(event: AgentProcessEvent)

Listen to an event during the execution of an AgentProcess

Link copied to clipboard
fun <Error class: unknown class>.toInfoString(): String