claude-connector: authenticate the Claude child with an API key (config auth field) #3

Merged
eureka merged 11 commits from hands/connector-api-key into main 2026-11-29 17:36:26 +00:00
Showing only changes of commit 29d84bcbfb - Show all commits

claude-connector: serve/check refusal test shape

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Meta Vens 2026-11-29 18:31:08 +01:00

View file

@ -486,8 +486,7 @@ fn serve_and_check_refuse_a_key_document_that_carries_a_lease() {
.unwrap();
}
let p = path.to_str().unwrap();
for args in [["serve", "--config", p], ["config", "check", p, ""]] {
let args: Vec<&str> = args.into_iter().filter(|a| !a.is_empty()).collect();
for args in [vec!["serve", "--config", p], vec!["config", "check", p]] {
let out = run(&args);
assert!(!out.status.success(), "{args:?}: {out:?}");
assert!(