Commit 084d443
committed
Implement after the fact review system
In my dayjob I am allowed to use Github Copilot and other chat tools to
enrich my developer experience. Some employers are okay with me using
Jira & Concluence MCPs, but I don't like using them.
When i ask confluence "The first feature" then the Confluence API will
perform a search for "The first feature", but also "The", "first" or
"feature", which can drag in IP that I'd rather not share with an
internet based LLM.
With this pull request I'm adding more granular control over tool
execution. When a tool is executed a new option is available "yes &
review". when this option is picked, then the tool will execute like
normal, but show a window to the user prompting them to read through the
text that is going to be fed back to the LLM. if the user is not
comfortable with the result returned (or if the result returned would
steer the LLM into the wrong direction; or worse includes rather clear prompt
poisoning/injection ) then the user can simply just reject the returned
result and it will never be fed into the LLM.1 parent 7cd5db3 commit 084d443
10 files changed
Lines changed: 1553 additions & 67 deletions
File tree
- doc
- extensions
- other
- lua/mcphub
- extensions
- codecompanion
- native/utils
- utils
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
66 | 70 | | |
67 | 71 | | |
68 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
165 | 183 | | |
166 | 184 | | |
167 | 185 | | |
| |||
239 | 257 | | |
240 | 258 | | |
241 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
242 | 265 | | |
243 | 266 | | |
244 | 267 | | |
| |||
258 | 281 | | |
259 | 282 | | |
260 | 283 | | |
261 | | - | |
262 | | - | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
263 | 287 | | |
264 | 288 | | |
265 | 289 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
3295 | 3295 | | |
3296 | 3296 | | |
3297 | 3297 | | |
3298 | | - | |
| 3298 | + | |
3299 | 3299 | | |
3300 | 3300 | | |
3301 | 3301 | | |
3302 | 3302 | | |
3303 | 3303 | | |
3304 | 3304 | | |
| 3305 | + | |
| 3306 | + | |
| 3307 | + | |
| 3308 | + | |
| 3309 | + | |
| 3310 | + | |
| 3311 | + | |
| 3312 | + | |
| 3313 | + | |
| 3314 | + | |
| 3315 | + | |
| 3316 | + | |
| 3317 | + | |
| 3318 | + | |
| 3319 | + | |
| 3320 | + | |
| 3321 | + | |
| 3322 | + | |
| 3323 | + | |
| 3324 | + | |
| 3325 | + | |
| 3326 | + | |
| 3327 | + | |
3305 | 3328 | | |
3306 | 3329 | | |
3307 | 3330 | | |
| |||
3378 | 3401 | | |
3379 | 3402 | | |
3380 | 3403 | | |
| 3404 | + | |
| 3405 | + | |
| 3406 | + | |
| 3407 | + | |
| 3408 | + | |
3381 | 3409 | | |
3382 | 3410 | | |
3383 | 3411 | | |
| |||
3395 | 3423 | | |
3396 | 3424 | | |
3397 | 3425 | | |
3398 | | - | |
3399 | | - | |
3400 | | - | |
| 3426 | + | |
| 3427 | + | |
| 3428 | + | |
| 3429 | + | |
3401 | 3430 | | |
3402 | 3431 | | |
3403 | 3432 | | |
| |||
0 commit comments