Skip to content

Project .mycoder settings are not in the local directory. #200

Closed
@bhouston

Description

@bhouston

When I run "pnpm cli config list" I get this result:

> cd packages/cli && node --no-deprecation bin/cli.js config list

[Config] Current configuration:
[Config] Global config file: /Users/benhouston/.mycoder/config.json
[Config] Project config file: /Users/benhouston/.mycoder/config.json
[Config] 
[Config]   ANTHROPIC_API_KEY:  (default)
[Config]   customPrompt:  (default)
[Config]   githubMode: false (default)
[Config]   headless: true (default)
[Config]   maxTokens: 4096 (default)
[Config]   model: claude-3-7-sonnet-20250219 (default)
[Config]   pageFilter: none (default)
[Config]   profile: false (default)
[Config]   provider: anthropic (default)
[Config]   temperature: 0.7 (default)
[Config]   tokenCache: true (default)
[Config]   userSession: false (default)

This is telling me that the global config file and the project config file are both in the same location. That is confusing and incorrect.

Instead I think that the project config file should be in the local directory. This is similar to how npm works. If you go "npm install xxx" it will install it in the local directory. If you go "npm install -g xxx" it will install it globally (in the user's home folder.)

So let's chang the project config file so that it is in the current directory, where the cli tool is invoked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions