Commit 8a927e0
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 25c5341 commit 8a927e0
File tree
4 files changed
+103
-4
lines changed- server
- dist
- src/lib
- test/src/lib
4 files changed
+103
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57338 | 57338 | | |
57339 | 57339 | | |
57340 | 57340 | | |
57341 | | - | |
| 57341 | + | |
57342 | 57342 | | |
| 57343 | + | |
| 57344 | + | |
| 57345 | + | |
| 57346 | + | |
| 57347 | + | |
| 57348 | + | |
| 57349 | + | |
| 57350 | + | |
| 57351 | + | |
| 57352 | + | |
| 57353 | + | |
| 57354 | + | |
| 57355 | + | |
| 57356 | + | |
| 57357 | + | |
| 57358 | + | |
| 57359 | + | |
57343 | 57360 | | |
57344 | 57361 | | |
57345 | 57362 | | |
| |||
0 commit comments