Class: ClaudeAgentSDK::CompactBoundaryMessage
- Inherits:
-
SystemMessage
- Object
- SystemMessage
- ClaudeAgentSDK::CompactBoundaryMessage
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Compact boundary system message (emitted after context compaction completes)
Instance Attribute Summary collapse
-
#compact_metadata ⇒ Object
Returns the value of attribute compact_metadata.
-
#session_id ⇒ Object
Returns the value of attribute session_id.
-
#uuid ⇒ Object
Returns the value of attribute uuid.
Attributes inherited from SystemMessage
Instance Method Summary collapse
-
#initialize(subtype:, data:, uuid: nil, session_id: nil, compact_metadata: nil) ⇒ CompactBoundaryMessage
constructor
A new instance of CompactBoundaryMessage.
Constructor Details
#initialize(subtype:, data:, uuid: nil, session_id: nil, compact_metadata: nil) ⇒ CompactBoundaryMessage
Returns a new instance of CompactBoundaryMessage.
193 194 195 196 197 198 |
# File 'lib/claude_agent_sdk/types.rb', line 193 def initialize(subtype:, data:, uuid: nil, session_id: nil, compact_metadata: nil) super(subtype: subtype, data: data) @uuid = uuid @session_id = session_id @compact_metadata = end |
Instance Attribute Details
#compact_metadata ⇒ Object
Returns the value of attribute compact_metadata.
191 192 193 |
# File 'lib/claude_agent_sdk/types.rb', line 191 def @compact_metadata end |
#session_id ⇒ Object
Returns the value of attribute session_id.
191 192 193 |
# File 'lib/claude_agent_sdk/types.rb', line 191 def session_id @session_id end |
#uuid ⇒ Object
Returns the value of attribute uuid.
191 192 193 |
# File 'lib/claude_agent_sdk/types.rb', line 191 def uuid @uuid end |