Skip to content

feat(opencode): Command Support on Config with {cmd:}#15404

Open
dbpolito wants to merge 3 commits intoanomalyco:devfrom
dbpolito:opencode_config_cmd
Open

feat(opencode): Command Support on Config with {cmd:}#15404
dbpolito wants to merge 3 commits intoanomalyco:devfrom
dbpolito:opencode_config_cmd

Conversation

@dbpolito
Copy link
Contributor

Issue for this PR

Closes #12710

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Add support for add {cmd:}, which makes things like this possible:

  "mcp": {
    "github-test": {
      "type": "remote",
      "url": "https://api.githubcopilot.com/mcp/",
      "enabled": false,
      "headers": {
        "Authorization": "Bearer {cmd:gh auth token}",
      },
    },
  },

How did you verify your code works?

Added tests, manual testing

Screenshots / recordings

image

Connected using config above

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: {cmd:} config placeholder for credential helpers

1 participant