App
constructor(appName: String, rootAgent: BaseAgent, plugins: List<Plugin> = emptyList(), resumabilityConfig: ResumabilityConfig? = null, eventsCompactionConfig: EventsCompactionConfig? = null, contextCacheConfig: ContextCacheConfig? = null, rootNode: Node? = null)
constructor(appName: String, rootAgent: BaseAgent, plugins: List<Plugin> = emptyList(), resumabilityConfig: ResumabilityConfig? = null, eventsCompactionConfig: EventsCompactionConfig? = null, contextCacheConfig: ContextCacheConfig? = null)
The 1.1.0 constructor, which had no rootNode. Stays visible because javac skips hidden constructors, so Java code written against 1.1.0 would otherwise bind to the node-rooted one.
constructor(appName: String, rootNode: Node, plugins: List<Plugin> = emptyList(), resumabilityConfig: ResumabilityConfig? = null, eventsCompactionConfig: EventsCompactionConfig? = null, contextCacheConfig: ContextCacheConfig? = null)
Creates an app rooted on a node graph rather than an agent tree. Wraps rootNode in a NodeViewAgent so the future-deprecated rootAgent stays non-null during the deprecation window.