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.
214 215 216 217 218 219 |
# File 'lib/claude_agent_sdk/types.rb', line 214 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.
212 213 214 |
# File 'lib/claude_agent_sdk/types.rb', line 212 def @compact_metadata end |
#session_id ⇒ Object
Returns the value of attribute session_id.
212 213 214 |
# File 'lib/claude_agent_sdk/types.rb', line 212 def session_id @session_id end |
#uuid ⇒ Object
Returns the value of attribute uuid.
212 213 214 |
# File 'lib/claude_agent_sdk/types.rb', line 212 def uuid @uuid end |