AcpRuntimeChatSession class

A single already-created ACP session. The host owns the runtime and its launch policy. Native events alone decide operation completion and permission validity.

Inheritance
  • Object
  • ChatSession
  • AcpRuntimeChatSession

Constructors

AcpRuntimeChatSession({required IanvsRustRuntime runtime, required String sessionId, required String agentName, String cwd = ''})

Properties

agentName → String
final
changes → Stream<ChatSessionState>
no setterinherited
cwd → String
final
hashCode → int
The hash code for this object.
no setterinherited
lastResultMeta ↔ Map<String, Object?>?
getter/setter pair
runtime → IanvsRustRuntime
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionId → String
final
state → ChatSessionState
no setteroverride

Methods

clearQueuedPrompts() → void
inherited
dispose() → void
override
guideQueuedPrompt(int id) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifySessionChanged() → void
inherited
removeQueuedPrompt(int id) → void
inherited
reorderQueuedPrompt(int oldIndex, int newIndex) → void
inherited
resolvePermission(ChatPermissionDecision decision) → Future<void>
override
restore() → Future<void>
selectPermissionOption(String optionId) → Future<void>
override
send(String text, {List<PromptAttachment> attachments = const []}) → Future<void>
override
setConfigOption(String id, Object value) → Future<void>
inherited
setExecutionPolicy(ChatToolCallExecutionPolicy policy) → void
inherited
stop() → Future<void>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited