Commit 1ffcc08
authored
AX-1579 - Make MCP secret-persistence guidance shell-aware (#15)
## What
Replace the hardcoded `~/.zshrc` persistence instruction in the MCP
management template with shell-aware guidance.
## Why
The agent told users to persist MCP secret env vars by adding the
`export` to `~/.zshrc`, which only works for zsh. Users on
bash/fish/Linux/Windows added it to a file their shell never sources, so
the variable was silently lost on next launch and the IDE "ignored" the
config.
## Changes
- `plugins/jfrog/templates/jfrog-mcp-management.md`: secret-persistence
guidance now keys on the user's **shell, not the OS** — zsh →
`~/.zshrc`, bash → `~/.bashrc` (and macOS `~/.bash_profile`), fish →
`~/.config/fish/config.fish`, Windows → `setx` — and tells the agent to
detect the shell first.
- Bump plugin version `0.5.0` → `0.5.1`
(`plugins/jfrog/.cursor-plugin/plugin.json` +
`.cursor-plugin/marketplace.json`).1 parent a437341 commit 1ffcc08
3 files changed
Lines changed: 17 additions & 7 deletions
File tree
- .cursor-plugin
- plugins/jfrog
- .cursor-plugin
- templates
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
173 | 183 | | |
174 | 184 | | |
175 | 185 | | |
| |||
0 commit comments