Commit b8a5b1b
fix: filter managed CLI flags from additionalArgs to prevent conflicts with post-processing
For tools with post-execution processing (query run, test run, database
analyze), flags like --logdir, --evaluator-log, --output, --verbosity,
and --tuple-counting are set internally and read back after execution.
If these appear in additionalArgs, they would create conflicting
duplicates and break post-processing. Now they are filtered out with a
warning directing the user to use the corresponding named parameter.
Agent-Logs-Url: https://github.com/advanced-security/codeql-development-mcp-server/sessions/dd017a82-a805-40c8-bb2f-4eae0678766d
Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>1 parent 76e0ab7 commit b8a5b1b
File tree
4 files changed
+104
-17
lines changed- server
- dist
- src/lib
- test/src/lib
4 files changed
+104
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53068 | 53068 | | |
53069 | 53069 | | |
53070 | 53070 | | |
53071 | | - | |
53072 | | - | |
53073 | | - | |
53074 | | - | |
53075 | 53071 | | |
53076 | 53072 | | |
53077 | 53073 | | |
| |||
53202 | 53198 | | |
53203 | 53199 | | |
53204 | 53200 | | |
53205 | | - | |
53206 | | - | |
53207 | | - | |
| 53201 | + | |
53208 | 53202 | | |
53209 | 53203 | | |
53210 | 53204 | | |
| |||
55217 | 55211 | | |
55218 | 55212 | | |
55219 | 55213 | | |
55220 | | - | |
55221 | | - | |
55222 | | - | |
55223 | 55214 | | |
55224 | 55215 | | |
55225 | 55216 | | |
| |||
55338 | 55329 | | |
55339 | 55330 | | |
55340 | 55331 | | |
55341 | | - | |
55342 | | - | |
55343 | | - | |
55344 | 55332 | | |
55345 | 55333 | | |
55346 | 55334 | | |
| |||
57350 | 57338 | | |
57351 | 57339 | | |
57352 | 57340 | | |
57353 | | - | |
| 57341 | + | |
57354 | 57342 | | |
| 57343 | + | |
| 57344 | + | |
| 57345 | + | |
| 57346 | + | |
| 57347 | + | |
| 57348 | + | |
| 57349 | + | |
| 57350 | + | |
| 57351 | + | |
| 57352 | + | |
| 57353 | + | |
| 57354 | + | |
| 57355 | + | |
| 57356 | + | |
| 57357 | + | |
| 57358 | + | |
| 57359 | + | |
57355 | 57360 | | |
57356 | 57361 | | |
57357 | 57362 | | |
| |||
0 commit comments