Skip to content

there is some change in claude cli "configuration"/auth with new verion(s) #66

@yarikoptic

Description

@yarikoptic

I was surprised to find that I also have ~/.claude.json recently and then now fresh yolo build asks to reconfigure itself -- inside there is no ~/.claude.json and note that ~ is /home/node

node@9c6f32b802d8:/home/yoh/proj/dandi/dandi-archive-master$ ls -ld ~/.claude* /home/yoh/.claude.json
ls: cannot access '/home/yoh/.claude.json': No such file or directory
drwxr-xr-x 1 node node 0 Apr  4 10:17 /home/node/.claude

and also it asked me to authenticate although CLAUDE_CODE_OAUTH_TOKEN token was passed in env var, so likely that one is no longer used? but when I look at /status it does say

  Version: 2.1.92                                                                                                                
  Session name: proj_dandi_dandi-archive-master-43441                                                                            
  Session ID: 74764eea-4cc5-4430-812e-c9216e968288                                                                               
  cwd: /home/yoh/proj/dandi/dandi-archive-master                                                                                 
  Auth token: CLAUDE_CODE_OAUTH_TOKEN    

  Model: opus[1m] (claude-opus-4-6[1m])                                                                                          
  Setting sources: User settings, Project local settings                                                                         
                                                                                                                                 
  System Diagnostics                                                                                                             
   ⚠ Local installation exists but not being used   

not sure even what it means about "Local installation ..." but may be that relates somehow..

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