Class: ClaudeAgentSDK::InitMessage

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

Overview

Init system message (emitted at session start and after /clear)

Instance Attribute Summary collapse

Attributes inherited from SystemMessage

#data, #subtype

Method Summary

Methods inherited from SystemMessage

#initialize

Methods inherited from Type

#[], #[]=, from_hash, #initialize, #to_h, wrap

Constructor Details

This class inherits a constructor from ClaudeAgentSDK::SystemMessage

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type

Instance Attribute Details

#agentsObject

Returns the value of attribute agents.



237
238
239
# File 'lib/claude_agent_sdk/types.rb', line 237

def agents
  @agents
end

#api_key_sourceObject

Returns the value of attribute api_key_source.



237
238
239
# File 'lib/claude_agent_sdk/types.rb', line 237

def api_key_source
  @api_key_source
end

#betasObject

Returns the value of attribute betas.



237
238
239
# File 'lib/claude_agent_sdk/types.rb', line 237

def betas
  @betas
end

#claude_code_versionObject

Returns the value of attribute claude_code_version.



237
238
239
# File 'lib/claude_agent_sdk/types.rb', line 237

def claude_code_version
  @claude_code_version
end

#cwdObject

Returns the value of attribute cwd.



237
238
239
# File 'lib/claude_agent_sdk/types.rb', line 237

def cwd
  @cwd
end

#fast_mode_stateObject

Returns the value of attribute fast_mode_state.



237
238
239
# File 'lib/claude_agent_sdk/types.rb', line 237

def fast_mode_state
  @fast_mode_state
end

#mcp_serversObject

Returns the value of attribute mcp_servers.



237
238
239
# File 'lib/claude_agent_sdk/types.rb', line 237

def mcp_servers
  @mcp_servers
end

#modelObject

Returns the value of attribute model.



237
238
239
# File 'lib/claude_agent_sdk/types.rb', line 237

def model
  @model
end

#output_styleObject

Returns the value of attribute output_style.



237
238
239
# File 'lib/claude_agent_sdk/types.rb', line 237

def output_style
  @output_style
end

#permission_modeObject

Returns the value of attribute permission_mode.



237
238
239
# File 'lib/claude_agent_sdk/types.rb', line 237

def permission_mode
  @permission_mode
end

#pluginsObject

Returns the value of attribute plugins.



237
238
239
# File 'lib/claude_agent_sdk/types.rb', line 237

def plugins
  @plugins
end

#session_idObject

Returns the value of attribute session_id.



237
238
239
# File 'lib/claude_agent_sdk/types.rb', line 237

def session_id
  @session_id
end

#skillsObject

Returns the value of attribute skills.



237
238
239
# File 'lib/claude_agent_sdk/types.rb', line 237

def skills
  @skills
end

#slash_commandsObject

Returns the value of attribute slash_commands.



237
238
239
# File 'lib/claude_agent_sdk/types.rb', line 237

def slash_commands
  @slash_commands
end

#toolsObject

Returns the value of attribute tools.



237
238
239
# File 'lib/claude_agent_sdk/types.rb', line 237

def tools
  @tools
end

#uuidObject

Returns the value of attribute uuid.



237
238
239
# File 'lib/claude_agent_sdk/types.rb', line 237

def uuid
  @uuid
end