Skip to content

[BUG] Plugin returns "not logged in" when Claude CLI is logged in via bedrock #189

@Mjb141

Description

@Mjb141

Bug Description

Claude CLI works locally with Bedrock authentication, but claudecode.nvim does not.

To Reproduce

Steps to reproduce the behavior:

Standard bedrock setup:

.claude/settings.json:

{
  "awsAuthRefresh": "aws sso login --profile aws-profile-name",
  "env": {
    "AWS_PROFILE": "aws-profile-name",
    "AWS_REGION": "eu-central-1"
  },
}

Run Claude with CLAUDE_CODE_USE_BEDROCK=1

Result:

claude in terminal works fine.

claudecode.nvim isn't logged in.

Expected Behavior

Neovim plugin realises Claude is logged in automatically.

Environment

  • Neovim version: [e.g. 0.9.2] 0.11.4
  • Claude Code CLI version: [e.g. 1.0.0] 2.1.38
  • OS: [e.g. macOS 14.1] 15.7.3
  • Plugin version: [e.g. 0.1.0]

Error Messages

If applicable, add error messages or logs.

Not logged in . Run /login

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions