forge-cpp-mcp 0.2.3__py3-none-any.whl → 0.2.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: forge-cpp-mcp
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: A safe MCP server for structured C++ project development workflows.
5
5
  Project-URL: Homepage, https://github.com/hardened-steel/ForgeMCP
6
6
  Project-URL: Repository, https://github.com/hardened-steel/ForgeMCP
@@ -44,7 +44,8 @@ debugger modules are planned.
44
44
  configuration selections use all available contexts.
45
45
  - No prompts are currently registered.
46
46
  - CMake tools list operator profiles, configure projects, build targets, and run
47
- CTest. Each tool has its own widget with profile filters, Fields/JSON views,
47
+ CTest. `cmake_run_test` directly runs a project/storage test executable with
48
+ literal command-line arguments. Each tool has its own widget with Fields/JSON views,
48
49
  copying and per-test results. Command logs are available through `process_get`. CMake syntax highlighting remains deferred.
49
50
  - Tool `processes_overview` shows running and completed external development tools,
50
51
  including exit codes and timeout interruptions. `process_get(process_id)` returns
@@ -75,7 +76,9 @@ without making additional tool calls. Process times are readable to seconds; JSO
75
76
  copying preserve the original precision. A toolsets list shows summaries, while a
76
77
  `toolset_get` result shows the details returned by that call.
77
78
 
78
- ForgeMCP does not expose arbitrary command execution over MCP. Feature services use
79
+ ForgeMCP can directly run an explicitly selected test executable inside the
80
+ project or storage root; it does not expose shell commands or external executable
81
+ paths over MCP. Feature services use
79
82
  the shared process service internally; its public MCP surface is read-only.
80
83
 
81
84
  ## Requirements
@@ -93,7 +96,7 @@ and install it in a virtual environment:
93
96
 
94
97
  ```powershell
95
98
  python -m venv .venv
96
- .\.venv\Scripts\python.exe -m pip install .\forge_cpp_mcp-0.2.3-py3-none-any.whl
99
+ .\.venv\Scripts\python.exe -m pip install .\forge_cpp_mcp-0.2.4-py3-none-any.whl
97
100
  .\.venv\Scripts\forgemcp.exe --help
98
101
  ```
99
102
 
@@ -105,7 +108,7 @@ The distribution name is `forge-cpp-mcp`; the Python module and server command a
105
108
  After the package is published to PyPI, the install command can instead be:
106
109
 
107
110
  ```powershell
108
- .\.venv\Scripts\python.exe -m pip install forge-cpp-mcp==0.2.3
111
+ .\.venv\Scripts\python.exe -m pip install forge-cpp-mcp==0.2.4
109
112
  ```
110
113
 
111
114
  ## Setup from source
@@ -332,6 +335,30 @@ Full process transcripts remain in the process module; CMake results contain no
332
335
  transcript links. The default command timeout is 600 seconds per execution and
333
336
  can be overridden with the existing `ProcessTimeout` shape (`total`, `idle`).
334
337
 
338
+ `cmake_run_test(executable, arguments=null, cwd="project/", timeout={"total":600})`
339
+ runs one already-built test executable directly, without a profile or CTest
340
+ registration. Executable and working-directory paths use `project/...` or
341
+ `storage/...` and must resolve inside their respective roots. The working directory
342
+ must exist; storage is not created automatically. On Windows, batch files are not
343
+ supported. Arguments are a list of literal strings, preserving spaces and empty
344
+ strings; NUL is rejected. For example:
345
+
346
+ ```json
347
+ {
348
+ "executable": "project/build/ninja-debug/fixture_tests.exe",
349
+ "arguments": ["--fail"],
350
+ "cwd": "project/build/ninja-debug",
351
+ "timeout": {"total": 30}
352
+ }
353
+ ```
354
+
355
+ The process inherits the server environment, closes stdin, and waits for completion.
356
+ It does not replay toolset/preset environments or CTest properties such as
357
+ `WILL_FAIL`, fixtures, or per-test timeouts. Exit zero means success; a nonzero
358
+ exit or process failure is reported in `error`. The single structured result
359
+ contains `executable`, `arguments`, `cwd`, `error`, and `process_id`; logs are read
360
+ through `process_get`. No JUnit or framework case report is inferred from output.
361
+
335
362
  With no explicit profiles:
336
363
 
337
364
  - If `CMakePresets.json` or `CMakeUserPresets.json` exists, the automatic `presets`
@@ -1,14 +1,15 @@
1
- forgemcp/__init__.py,sha256=Eu4JDkc8xROXXVOjO1sqBrMmANWVyPeuW_Qf8wOji_M,74
1
+ forgemcp/__init__.py,sha256=CCzoMEBsYQgcuRN60r2a5Dpo4r0ePWqHhRVliM-NEWc,74
2
2
  forgemcp/assets.py,sha256=jQqqAFvdYpbhZygJemTMzYo_clRZMs0e181XQ_YvQYc,1958
3
3
  forgemcp/completion.py,sha256=BHryNbRpMIDwkdIjg8sfRSAVaIPhg6LLzohsyor5OP0,1638
4
4
  forgemcp/markdown.py,sha256=oeW_cBIUo4BrU3iLFLuZDj50-DIyX1APQ0ongp01KWM,10599
5
5
  forgemcp/progress.py,sha256=jdv8We1F5GFhtYna4fZ_SekRjQvOBJUKyFW4AjcYZes,1253
6
- forgemcp/server.py,sha256=g5sSNkmI1-4hh-iY6dvueBlR2alOb-nvekOgzg4qZfc,6477
6
+ forgemcp/server.py,sha256=h66LU4elkSe88pnKTl06fF4RDRdPJiHIPCWkerVPOgw,6496
7
7
  forgemcp/text.py,sha256=X792KGlPSlRHoUHp-lj5tmlv0AHqq5mY1J_57YR_9uE,1316
8
8
  forgemcp/assets/clangd-result.html,sha256=MLiR12nJY4TzdGg3LpdP0vriy4T7rluncfwNSrFf-CA,579631
9
9
  forgemcp/assets/cmake-build.html,sha256=tqwNeJvoUHPJnBwQGqc1T8YSMTwwTtMHbPcSpkmUUFs,467786
10
10
  forgemcp/assets/cmake-configure.html,sha256=gOiMQKqdMgR4sO9p567TmagB14UFTaLki3lbmX2XK48,467810
11
11
  forgemcp/assets/cmake-profiles.html,sha256=_tNT-w03sVy3alwkJn0QZOEwtfEtMQiGKAKoR3IrFfU,467798
12
+ forgemcp/assets/cmake-run-test.html,sha256=k2OBNfBrWJsJXWEoJhqZwzoRjozTyjFIOwTsqZUkoD0,467814
12
13
  forgemcp/assets/cmake-test.html,sha256=kJG-KZjQCNKwmQ-eJk6KGePvTfd7pPRzLgDhrEh4Gso,467788
13
14
  forgemcp/assets/process-details.html,sha256=5iabo4LJvzJ3_z_isVg2l_mszv3Mwc9yfWClAoC3G5I,457724
14
15
  forgemcp/assets/process-overview.html,sha256=rItP_4FgD-DpY9h3zE0asmFafiZHE8GI-VtB0JjEChs,470558
@@ -24,11 +25,11 @@ forgemcp/clangd/service.py,sha256=xgcD7LY2pAAEu7FqzqsqSA9oJfd_bcqGvqwHHdBFPpg,54
24
25
  forgemcp/clangd/session.py,sha256=a0oZVnzd47StF8zFsPwdf2P1EWF2v3rPurfImiG7Bjo,22552
25
26
  forgemcp/clangd/text.py,sha256=CJJHQvbkBlL6zj1H-BcIR6J-fqvKXErv5LKz-PbLSD0,9394
26
27
  forgemcp/cmake/__init__.py,sha256=qI2hkfi4GsZj_rpa24E3M2LUnIYCbKEgVCmNDiNtFMU,43
27
- forgemcp/cmake/errors.py,sha256=lieFb-ADgJneQjFgkJjPTbj1UVmWE4njncl6gj4Q-IE,169
28
- forgemcp/cmake/models.py,sha256=5D5GWW1Pj4MOtFXH7cBjvZ9bs1d8kfLm0Y5uVT2tkCA,2335
28
+ forgemcp/cmake/errors.py,sha256=zBRSuL10AyxqFxfEvCJUDjiwMUY6hy3UGbscZ6ZNoP4,180
29
+ forgemcp/cmake/models.py,sha256=vCCbBV8cubRN83SHCpO-9QqdIN12wsLvmNc-kQyYt28,2738
29
30
  forgemcp/cmake/profiles.py,sha256=2ZCzSX6u-Obv130BKjsKFl414axnq51cwMCw9Pllw8I,3767
30
- forgemcp/cmake/service.py,sha256=Xnqyyqsqz4WwE2ESEBJwoxZrQaSmiUaiIvAVjsQdjV8,43948
31
- forgemcp/cmake/text.py,sha256=pzJ218vkV_bKm_pvYTTdaMef5TJFlFP4vhCbCYA7fR4,4036
31
+ forgemcp/cmake/service.py,sha256=bZm7vIc17dG-ITSbrbPa6V_laFoYwMgOS5iuCEX5OG4,48736
32
+ forgemcp/cmake/text.py,sha256=uKhH5rOzOH1JIUTlV77Te0VTE0rwwhSHexIY7S1Jeac,4811
32
33
  forgemcp/icons/clangd.LICENSE,sha256=9ysSDROFQI6eOArMAgdW62uhtGHWbDKOpnMnugjX3P0,12263
33
34
  forgemcp/icons/clangd.svg,sha256=za6pqUyRhl-hnzF65DNF0Xbyim2vYv6Tp0K0zyHTf0o,1864
34
35
  forgemcp/icons/cmake.svg,sha256=76fBkKz4OUm1lbzwYYdia1KO9HWSr_u_ItyFvKetMRw,677
@@ -41,7 +42,7 @@ forgemcp/icons/workspace.svg,sha256=Ik4CdguQnYM4N1LgEEbEfjys1kjHliax_34DnS2NeQg,
41
42
  forgemcp/process/__init__.py,sha256=AgA_kCMjAqEYamEoJDt1r-BO7oUhxXnVeCdgMkjks6w,377
42
43
  forgemcp/process/errors.py,sha256=HKm052X3_U4BVyT6jcObRPPhEFSltJTVHMySs3oNKRg,560
43
44
  forgemcp/process/models.py,sha256=mEeCfOcAkrIvj_ioqDXzVtKicxg5JQoj01TxEv-HXHY,5163
44
- forgemcp/process/service.py,sha256=WgWYyt3A4qzNIoqfahWnrmeZDpeQaz6NEX0sB4tJPZA,32722
45
+ forgemcp/process/service.py,sha256=44iWU6XvEjGcLLOfi5JMyUVS9ABHD_jXVSimRyA0tLs,32808
45
46
  forgemcp/process/text.py,sha256=adu_kYTEnnkj2eKEkYsezbhaRV5sQtgjHnlQhRgwz14,2745
46
47
  forgemcp/process/transcript.py,sha256=bawogNS_1OaXsl_wl9Epx5PMcstLGP-IMipj7L7W1AM,4244
47
48
  forgemcp/toolchain/__init__.py,sha256=EJIuBS2kRnPawqSiGqCps86AJB-K4H2AFp1zeTfZn7E,66
@@ -83,8 +84,8 @@ forgemcp/workspace/path.py,sha256=jh68b_ZBPH6Z_gkoYfjm5qp-XmL0ux5Y8UURk7L58ss,37
83
84
  forgemcp/workspace/providers.py,sha256=DrCXoihTRd7O_tRIc2Drz4S97HSzBPODzphfSrEYZhI,861
84
85
  forgemcp/workspace/service.py,sha256=4D9SNHYU76QSpL43kMB41E4-el6n-i_Ni7ID4AgGH6o,76086
85
86
  forgemcp/workspace/text.py,sha256=RdfmqsEEsYlldrRiRS9ASR4OiGAvjDaSz1RyCmPU-q8,4578
86
- forge_cpp_mcp-0.2.3.dist-info/METADATA,sha256=6jsg-dONWbgFy_iPZzuQ4hy4WW7UeFBeRAy1AVWYECE,26194
87
- forge_cpp_mcp-0.2.3.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
88
- forge_cpp_mcp-0.2.3.dist-info/entry_points.txt,sha256=X3lvpCOLmNNRl5SUIs2Py6jNR_ySNbIHo43OkeJTwjk,50
89
- forge_cpp_mcp-0.2.3.dist-info/licenses/LICENSE,sha256=LmXV0zKMUYEP9wGMetoup7zgKNN_29LFO_Jey5VR5so,1071
90
- forge_cpp_mcp-0.2.3.dist-info/RECORD,,
87
+ forge_cpp_mcp-0.2.4.dist-info/METADATA,sha256=iiKDvcV1pXNHjpsdF9GmW0OApPI7flw2lgjEUD6oohk,27568
88
+ forge_cpp_mcp-0.2.4.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
89
+ forge_cpp_mcp-0.2.4.dist-info/entry_points.txt,sha256=X3lvpCOLmNNRl5SUIs2Py6jNR_ySNbIHo43OkeJTwjk,50
90
+ forge_cpp_mcp-0.2.4.dist-info/licenses/LICENSE,sha256=LmXV0zKMUYEP9wGMetoup7zgKNN_29LFO_Jey5VR5so,1071
91
+ forge_cpp_mcp-0.2.4.dist-info/RECORD,,
forgemcp/__init__.py CHANGED
@@ -2,4 +2,4 @@
2
2
 
3
3
  __all__ = ["__version__"]
4
4
 
5
- __version__ = "0.2.3"
5
+ __version__ = "0.2.4"