From ab2177e8ac69b5527c3abb157f7891072c33bbbc Mon Sep 17 00:00:00 2001 From: Adam Wolfe Gordon Date: Mon, 21 Sep 2026 16:49:42 -0600 Subject: [PATCH] claude: Persist .claude.json to retain subscription credentials claude-code persist credentials (for subscription users using SSO, at least) in `.claude.json`, not the `.claude/` directory. When only `.claude/` was retained by brood-box as a credential path, I had to sign-in again each time I started `bbox claude-code`. Add `.claude.json` to the credential paths for claude-code, so subscription credentials are retained across sessions. Signed-off-by: Adam Wolfe Gordon --- pkg/clients/claudecode/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/clients/claudecode/client.go b/pkg/clients/claudecode/client.go index ba4ccb5..369d98c 100644 --- a/pkg/clients/claudecode/client.go +++ b/pkg/clients/claudecode/client.go @@ -53,7 +53,7 @@ func spec() agent.Agent { DefaultMemory: bytesize.ByteSize(4096), DefaultTmpSize: bytesize.ByteSize(2048), DefaultEgressProfile: egress.ProfilePermissive, - CredentialPaths: []string{".claude/"}, + CredentialPaths: []string{".claude/", ".claude.json"}, EgressHosts: map[egress.ProfileName][]egress.Host{ egress.ProfileLocked: locked, egress.ProfileStandard: append(append([]egress.Host{}, locked...), devhosts.Standard()...),