Skip to content

Conversation

@martinemde
Copy link
Collaborator

  • Added config file loading from XDG config location (~/.config/studio/config.jsonc)
  • Config format supports JSONC with command definitions
  • Added --config flag to specify custom config file path
  • Added --commands flag to filter which commands to load from config
  • Config mode registers multiple MCP tools (one per command)
  • Maintains backwards compatibility with template mode
  • Added comprehensive test coverage for config module

Config file format:
{
"command-name": { "description": "Optional description", "command": ["executable", "arg1", "arg2"] } }

Usage:
studio --config myconfig.jsonc studio --commands "cmd1,cmd2" studio (loads default config if exists)

- Added config file loading from XDG config location (~/.config/studio/config.jsonc)
- Config format supports JSONC with command definitions
- Added --config flag to specify custom config file path
- Added --commands flag to filter which commands to load from config
- Config mode registers multiple MCP tools (one per command)
- Maintains backwards compatibility with template mode
- Added comprehensive test coverage for config module

Config file format:
{
  "command-name": {
    "description": "Optional description",
    "command": ["executable", "arg1", "arg2"]
  }
}

Usage:
  studio --config myconfig.jsonc
  studio --commands "cmd1,cmd2"
  studio (loads default config if exists)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants