Class: ClaudeAgentSDK::InitMessage
- Inherits:
-
SystemMessage
- Object
- Type
- SystemMessage
- ClaudeAgentSDK::InitMessage
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Init system message (emitted at session start and after /clear)
Instance Attribute Summary collapse
-
#agents ⇒ Object
Returns the value of attribute agents.
-
#api_key_source ⇒ Object
Returns the value of attribute api_key_source.
-
#betas ⇒ Object
Returns the value of attribute betas.
-
#claude_code_version ⇒ Object
Returns the value of attribute claude_code_version.
-
#cwd ⇒ Object
Returns the value of attribute cwd.
-
#fast_mode_state ⇒ Object
Returns the value of attribute fast_mode_state.
-
#mcp_servers ⇒ Object
Returns the value of attribute mcp_servers.
-
#model ⇒ Object
Returns the value of attribute model.
-
#output_style ⇒ Object
Returns the value of attribute output_style.
-
#permission_mode ⇒ Object
Returns the value of attribute permission_mode.
-
#plugins ⇒ Object
Returns the value of attribute plugins.
-
#session_id ⇒ Object
Returns the value of attribute session_id.
-
#skills ⇒ Object
Returns the value of attribute skills.
-
#slash_commands ⇒ Object
Returns the value of attribute slash_commands.
-
#tools ⇒ Object
Returns the value of attribute tools.
-
#uuid ⇒ Object
Returns the value of attribute uuid.
Attributes inherited from SystemMessage
Method Summary
Methods inherited from SystemMessage
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
#agents ⇒ Object
Returns the value of attribute agents.
237 238 239 |
# File 'lib/claude_agent_sdk/types.rb', line 237 def agents @agents end |
#api_key_source ⇒ Object
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 |
#betas ⇒ Object
Returns the value of attribute betas.
237 238 239 |
# File 'lib/claude_agent_sdk/types.rb', line 237 def betas @betas end |
#claude_code_version ⇒ Object
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 |
#cwd ⇒ Object
Returns the value of attribute cwd.
237 238 239 |
# File 'lib/claude_agent_sdk/types.rb', line 237 def cwd @cwd end |
#fast_mode_state ⇒ Object
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_servers ⇒ Object
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 |
#model ⇒ Object
Returns the value of attribute model.
237 238 239 |
# File 'lib/claude_agent_sdk/types.rb', line 237 def model @model end |
#output_style ⇒ Object
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_mode ⇒ Object
Returns the value of attribute permission_mode.
237 238 239 |
# File 'lib/claude_agent_sdk/types.rb', line 237 def @permission_mode end |
#plugins ⇒ Object
Returns the value of attribute plugins.
237 238 239 |
# File 'lib/claude_agent_sdk/types.rb', line 237 def plugins @plugins end |
#session_id ⇒ Object
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 |
#skills ⇒ Object
Returns the value of attribute skills.
237 238 239 |
# File 'lib/claude_agent_sdk/types.rb', line 237 def skills @skills end |
#slash_commands ⇒ Object
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 |
#tools ⇒ Object
Returns the value of attribute tools.
237 238 239 |
# File 'lib/claude_agent_sdk/types.rb', line 237 def tools @tools end |
#uuid ⇒ Object
Returns the value of attribute uuid.
237 238 239 |
# File 'lib/claude_agent_sdk/types.rb', line 237 def uuid @uuid end |