From b22f5f0f8db826a94d85cfffe2384f6cb85a5e4d Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 29 Nov 2026 18:16:15 +0100 Subject: [PATCH] claude-connector: ClaudeCodeConfig carries the auth choice Co-Authored-By: Claude Opus 5.5 --- crates/claude-connector/src/config.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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,