pub struct CcsConfig {
pub output_flag: String,
pub yolo_flag: String,
pub verbose_flag: String,
pub print_flag: String,
pub streaming_flag: String,
pub json_parser: String,
pub session_flag: String,
pub can_commit: bool,
}Expand description
CCS defaults applied to all CCS aliases unless overridden per-alias.
Fields§
§output_flag: StringOutput-format flag for CCS (often Claude-compatible stream JSON).
yolo_flag: StringFlag for autonomous mode (skip permission/confirmation prompts). Ralph is designed for unattended automation, so this is enabled by default. Set to empty string (“”) to disable and require confirmations.
verbose_flag: StringFlag for verbose output.
print_flag: StringPrint flag for non-interactive mode.
IMPORTANT: CCS treats -p / --prompt as its own headless delegation mode.
When we execute via the ccs wrapper (e.g. ccs codex), we must use
Claude’s long-form --print flag to avoid triggering CCS delegation.
Default: “–print”
streaming_flag: StringStreaming flag for JSON output with -p (required for Claude/CCS to stream). Default: “–include-partial-messages”
json_parser: StringWhich JSON parser to use for CCS output.
session_flag: StringSession continuation flag template for CCS aliases (Claude CLI).
The {} placeholder is replaced with the session ID at runtime.
Default: “–resume {}”
can_commit: boolWhether CCS can run workflow tools (git commit, etc.).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CcsConfig
impl<'de> Deserialize<'de> for CcsConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for CcsConfig
impl RefUnwindSafe for CcsConfig
impl Send for CcsConfig
impl Sync for CcsConfig
impl Unpin for CcsConfig
impl UnwindSafe for CcsConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more