From 9e509257464c3659733900f1c78b9571fb42f16f Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 29 Nov 2026 18:18:30 +0100 Subject: [PATCH] README: API key authentication Co-Authored-By: Claude Opus 5.5 --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cf5cd4f..50c3927 100644 --- a/README.md +++ b/README.md @@ -54,8 +54,12 @@ Crate `crates/claude-connector` (library and the `claude-connector` binary that group); `SessionStore` and `StderrSink` are the other ports. `ClaudeCodeConfig` is what the binary hands in; the credential is read from a systemd credential and reaches the child on a pipe (`CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR`), never in an environment. `QuotaCell` keeps the - plan windows the CLI's `rate_limit_event`s report, for the usage readout and the lease grant. - + pipe, never in an environment: `CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR` by default, or + `CLAUDE_CODE_API_KEY_FILE_DESCRIPTOR` when the config document says `auth` is an API key + (`config init --auth api-key`; one choice for the whole connector, held in the credential + `--token-credential` names). `QuotaCell` keeps the plan windows the CLI's `rate_limit_event`s + report, for the usage readout and the lease grant; on an API key there is no plan, no meter + runs and the cell stays empty. ## Asking for one no-tools completion `claude-connector ask` is a caller of a running connector for a Mind's Self run: the prompt is all