Create a PreCompactHookInput
Usage
PreCompactHookInput(
session_id,
transcript_path,
cwd,
trigger,
custom_instructions = NULL,
permission_mode = NULL
)
Arguments
- session_id
Character.
- transcript_path
Character.
- cwd
Character.
- trigger
Character. "manual" or "auto".
- custom_instructions
Character or NULL.
- permission_mode
Character or NULL.
Value
Object of class PreCompactHookInput.
Examples
h <- PreCompactHookInput(
session_id = "s1", transcript_path = "/tmp/t.jsonl",
cwd = "/tmp", trigger = "auto"
)
h$trigger
#> [1] "auto"