Commit 3407971
committed
fix: auto-approve tools for non-quarantined servers on upgrade
The auto-approve logic was only triggered when global quarantine was disabled
or server had skip_quarantine. Now it also auto-approves for servers that are
not quarantined at server-level (trusted servers). Changed tools (rug pull
detection) still always blocked when global quarantine is enabled.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent dc6cf94 commit 3407971
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
59 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
60 | 67 | | |
61 | 68 | | |
62 | 69 | | |
| |||
217 | 224 | | |
218 | 225 | | |
219 | 226 | | |
220 | | - | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
221 | 231 | | |
222 | 232 | | |
223 | 233 | | |
| |||
0 commit comments