diff --git a/crates/claude-connector/src/config.rs b/crates/claude-connector/src/config.rs index 3f43905..ca73202 100644 --- a/crates/claude-connector/src/config.rs +++ b/crates/claude-connector/src/config.rs @@ -50,9 +50,11 @@ pub struct ClaudeCodeConfig { /// A directory the connector owns (mode 0700), where each call's system /// prompt is staged for the child. pub prompt_dir: PathBuf, - /// The name of the systemd credential that holds the child's token, under + /// The name of the systemd credential that holds the child's credential, under /// `$CREDENTIALS_DIRECTORY`. pub token_credential: String, + /// Which credential that is: the subscription token or an API key. + pub auth: ClaudeAuth, /// The name of the systemd credential that holds the handle secret: the /// key every handle is authenticated with. pub handle_secret_credential: String,