Class: ClaudeAgentSDK::InstructionsLoadedHookInput
- Inherits:
-
BaseHookInput
- Object
- BaseHookInput
- ClaudeAgentSDK::InstructionsLoadedHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
InstructionsLoaded hook input
Instance Attribute Summary collapse
-
#file_path ⇒ Object
Returns the value of attribute file_path.
-
#globs ⇒ Object
Returns the value of attribute globs.
-
#hook_event_name ⇒ Object
Returns the value of attribute hook_event_name.
-
#load_reason ⇒ Object
Returns the value of attribute load_reason.
-
#memory_type ⇒ Object
Returns the value of attribute memory_type.
-
#trigger_file_path ⇒ Object
Returns the value of attribute trigger_file_path.
Attributes inherited from BaseHookInput
#cwd, #permission_mode, #session_id, #transcript_path
Instance Method Summary collapse
-
#initialize(hook_event_name: 'InstructionsLoaded', file_path: nil, memory_type: nil, load_reason: nil, globs: nil, trigger_file_path: nil, **base_args) ⇒ InstructionsLoadedHookInput
constructor
A new instance of InstructionsLoadedHookInput.
Constructor Details
#initialize(hook_event_name: 'InstructionsLoaded', file_path: nil, memory_type: nil, load_reason: nil, globs: nil, trigger_file_path: nil, **base_args) ⇒ InstructionsLoadedHookInput
Returns a new instance of InstructionsLoadedHookInput.
1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 |
# File 'lib/claude_agent_sdk/types.rb', line 1086 def initialize(hook_event_name: 'InstructionsLoaded', file_path: nil, memory_type: nil, load_reason: nil, globs: nil, trigger_file_path: nil, **base_args) super(**base_args) @hook_event_name = hook_event_name @file_path = file_path @memory_type = memory_type @load_reason = load_reason @globs = globs @trigger_file_path = trigger_file_path end |
Instance Attribute Details
#file_path ⇒ Object
Returns the value of attribute file_path.
1084 1085 1086 |
# File 'lib/claude_agent_sdk/types.rb', line 1084 def file_path @file_path end |
#globs ⇒ Object
Returns the value of attribute globs.
1084 1085 1086 |
# File 'lib/claude_agent_sdk/types.rb', line 1084 def globs @globs end |
#hook_event_name ⇒ Object
Returns the value of attribute hook_event_name.
1084 1085 1086 |
# File 'lib/claude_agent_sdk/types.rb', line 1084 def hook_event_name @hook_event_name end |
#load_reason ⇒ Object
Returns the value of attribute load_reason.
1084 1085 1086 |
# File 'lib/claude_agent_sdk/types.rb', line 1084 def load_reason @load_reason end |
#memory_type ⇒ Object
Returns the value of attribute memory_type.
1084 1085 1086 |
# File 'lib/claude_agent_sdk/types.rb', line 1084 def memory_type @memory_type end |
#trigger_file_path ⇒ Object
Returns the value of attribute trigger_file_path.
1084 1085 1086 |
# File 'lib/claude_agent_sdk/types.rb', line 1084 def trigger_file_path @trigger_file_path end |