Class: ClaudeAgentSDK::CompactBoundaryMessage

Inherits:
SystemMessage show all
Defined in:
lib/claude_agent_sdk/types.rb

Overview

Compact boundary system message (emitted after context compaction completes)

Instance Attribute Summary collapse

Attributes inherited from SystemMessage

#data, #subtype

Instance Method Summary collapse

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_metadataObject

Returns the value of attribute compact_metadata.



191
192
193
# File 'lib/claude_agent_sdk/types.rb', line 191

def 
  @compact_metadata
end

#session_idObject

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

#uuidObject

Returns the value of attribute uuid.



191
192
193
# File 'lib/claude_agent_sdk/types.rb', line 191

def uuid
  @uuid
end