Class: Agent::Sessions::Node
- Inherits:
-
Data
- Object
- Data
- Agent::Sessions::Node
- Defined in:
- lib/agent/sessions/node.rb
Overview
One message in a branching conversation, with the messages that follow it.
Agents that let a turn be edited and re-run record two children under one
parent: 380 such branch points sit across 85 of 151 real Claude transcripts,
so a caller reading messages in file order is reading two alternative
histories interleaved without being told.
children is a plain Array and the Node is frozen, so the shape is settled before anyone sees it.
Instance Attribute Summary collapse
-
#children ⇒ Object
readonly
Returns the value of attribute children.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Attribute Details
#children ⇒ Object (readonly)
Returns the value of attribute children
13 14 15 |
# File 'lib/agent/sessions/node.rb', line 13 def children @children end |
#message ⇒ Object (readonly)
Returns the value of attribute message
13 14 15 |
# File 'lib/agent/sessions/node.rb', line 13 def @message end |