forge-cpp-mcp 0.2.1__tar.gz → 0.2.2__tar.gz

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.
Files changed (123) hide show
  1. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/.gitignore +231 -231
  2. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/LICENSE +21 -21
  3. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/PKG-INFO +37 -11
  4. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/README.md +437 -412
  5. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/clangd-result.html +5 -5
  6. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/cmake-build.html +12 -12
  7. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/cmake-configure.html +12 -12
  8. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/cmake-profiles.html +12 -12
  9. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/cmake-test.html +12 -12
  10. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/package-lock.json +2832 -2832
  11. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/package.json +18 -18
  12. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/process-details.html +12 -12
  13. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/process-overview.html +12 -12
  14. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/clangd-navigation-view.js +182 -182
  15. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/clangd-result.js +4 -4
  16. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/clangd-view.js +145 -145
  17. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/cmake-build.js +8 -8
  18. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/cmake-configure.js +8 -8
  19. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/cmake-profiles.js +8 -8
  20. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/cmake-test.js +8 -8
  21. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/cmake-view.js +50 -50
  22. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/process-details.js +188 -188
  23. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/process-overview.js +85 -85
  24. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/process-status.js +13 -13
  25. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/process.css +21 -21
  26. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/shared/app.js +54 -53
  27. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/shared/copy-icon.js +19 -19
  28. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/shared/presentation.js +71 -71
  29. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/shared/result-resources.js +87 -73
  30. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/shared/result-view.js +422 -422
  31. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/shared/widget.css +244 -244
  32. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/source-view.js +318 -318
  33. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/toolsets.js +4 -4
  34. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/workspace-file.js +4 -4
  35. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/workspace-result.js +4 -4
  36. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/workspace-search.js +4 -4
  37. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/workspace-tree.js +4 -4
  38. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/src/workspace-view.js +487 -482
  39. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/tests/result-resources.test.js +62 -62
  40. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/tests/result-view.test.js +215 -215
  41. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/tests/workspace.test.js +248 -248
  42. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/toolsets.html +12 -12
  43. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/vite.config.js +33 -33
  44. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/workspace-file.html +5 -5
  45. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/workspace-result.html +5 -5
  46. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/workspace-search.html +5 -5
  47. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/frontend/workspace-tree.html +5 -5
  48. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/hatch_build.py +1 -0
  49. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/pyproject.toml +63 -62
  50. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/__init__.py +1 -1
  51. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/assets.py +3 -0
  52. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/clangd/errors.py +1 -0
  53. forge_cpp_mcp-0.2.2/src/forgemcp/clangd/models.py +186 -0
  54. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/clangd/service.py +108 -68
  55. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/clangd/session.py +26 -0
  56. forge_cpp_mcp-0.2.2/src/forgemcp/clangd/text.py +244 -0
  57. forge_cpp_mcp-0.2.2/src/forgemcp/cmake/models.py +74 -0
  58. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/cmake/profiles.py +3 -0
  59. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/cmake/service.py +43 -67
  60. forge_cpp_mcp-0.2.2/src/forgemcp/cmake/text.py +98 -0
  61. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/completion.py +4 -0
  62. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/icons/clangd.LICENSE +219 -219
  63. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/icons/clangd.svg +25 -25
  64. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/icons/cmake.svg +9 -9
  65. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/icons/process.svg +4 -4
  66. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/icons/toolchain.svg +1 -1
  67. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/icons/workspace-edit.svg +1 -1
  68. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/icons/workspace-file.svg +1 -1
  69. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/icons/workspace-search.svg +1 -1
  70. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/icons/workspace.svg +4 -4
  71. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/markdown.py +44 -0
  72. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/process/models.py +4 -0
  73. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/process/service.py +36 -18
  74. forge_cpp_mcp-0.2.2/src/forgemcp/process/text.py +68 -0
  75. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/process/transcript.py +2 -0
  76. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/progress.py +3 -0
  77. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/server.py +1 -0
  78. forge_cpp_mcp-0.2.2/src/forgemcp/text.py +37 -0
  79. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/discovery.py +1 -0
  80. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/errors.py +1 -0
  81. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/loader.py +3 -0
  82. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/providers/system.py +2 -0
  83. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/providers/user.py +5 -0
  84. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/providers/visual_studio.py +5 -0
  85. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/service.py +55 -4
  86. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/spec.py +7 -0
  87. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/tools/clang.py +4 -0
  88. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/tools/clang_cl.py +4 -0
  89. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/tools/clangd.py +25 -1
  90. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/tools/clangxx.py +4 -0
  91. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/tools/cmake.py +35 -3
  92. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/tools/cppvsdbg.py +2 -1
  93. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/tools/ctest.py +16 -1
  94. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/tools/gcc.py +4 -0
  95. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/tools/gdb.py +4 -0
  96. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/tools/git.py +4 -0
  97. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/tools/gxx.py +4 -0
  98. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/tools/link.py +2 -1
  99. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/tools/lld.py +4 -0
  100. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/tools/lld_link.py +4 -0
  101. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/tools/lldb_dap.py +2 -1
  102. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/tools/make.py +4 -0
  103. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/tools/msbuild.py +4 -0
  104. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/tools/msvc.py +2 -1
  105. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/tools/ninja.py +4 -0
  106. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/workspace/diff.py +14 -0
  107. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/workspace/metadata.py +1 -0
  108. forge_cpp_mcp-0.2.2/src/forgemcp/workspace/models.py +103 -0
  109. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/workspace/path.py +18 -1
  110. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/workspace/providers.py +6 -0
  111. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/workspace/service.py +174 -108
  112. forge_cpp_mcp-0.2.2/src/forgemcp/workspace/text.py +113 -0
  113. forge_cpp_mcp-0.2.1/src/forgemcp/clangd/models.py +0 -94
  114. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/clangd/__init__.py +0 -0
  115. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/cmake/__init__.py +0 -0
  116. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/cmake/errors.py +0 -0
  117. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/process/__init__.py +0 -0
  118. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/process/errors.py +0 -0
  119. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/__init__.py +0 -0
  120. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/providers/__init__.py +0 -0
  121. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/toolchain/tools/__init__.py +0 -0
  122. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/workspace/__init__.py +0 -0
  123. {forge_cpp_mcp-0.2.1 → forge_cpp_mcp-0.2.2}/src/forgemcp/workspace/errors.py +0 -0
@@ -1,231 +1,231 @@
1
- # Byte-compiled / optimized / DLL files
2
- __pycache__/
3
- *.py[codz]
4
- *$py.class
5
-
6
- # C extensions
7
- *.so
8
-
9
- # Distribution / packaging
10
- .Python
11
- build/
12
- develop-eggs/
13
- dist/
14
- downloads/
15
- eggs/
16
- .eggs/
17
- lib/
18
- lib64/
19
- parts/
20
- sdist/
21
- var/
22
- wheels/
23
- share/python-wheels/
24
- *.egg-info/
25
- .installed.cfg
26
- *.egg
27
- MANIFEST
28
-
29
- # PyInstaller
30
- # Usually these files are written by a python script from a template
31
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
- *.manifest
33
- *.spec
34
-
35
- # Installer logs
36
- pip-log.txt
37
- pip-delete-this-directory.txt
38
-
39
- # Unit test / coverage reports
40
- htmlcov/
41
- .tox/
42
- .nox/
43
- .coverage
44
- .coverage.*
45
- .cache
46
- nosetests.xml
47
- coverage.xml
48
- *.cover
49
- *.py.cover
50
- *.lcov
51
- .hypothesis/
52
- .pytest_cache/
53
- .pytest_tmp/
54
- cover/
55
-
56
- # Translations
57
- *.mo
58
- *.pot
59
-
60
- # Django stuff:
61
- *.log
62
- local_settings.py
63
- db.sqlite3
64
- db.sqlite3-journal
65
-
66
- # Flask stuff:
67
- instance/
68
- .webassets-cache
69
-
70
- # Scrapy stuff:
71
- .scrapy
72
-
73
- # Sphinx documentation
74
- docs/_build/
75
-
76
- # PyBuilder
77
- .pybuilder/
78
- target/
79
-
80
- # Jupyter Notebook
81
- .ipynb_checkpoints
82
-
83
- # IPython
84
- profile_default/
85
- ipython_config.py
86
-
87
- # pyenv
88
- # For a library or package, you might want to ignore these files since the code is
89
- # intended to run in multiple environments; otherwise, check them in:
90
- # .python-version
91
-
92
- # pipenv
93
- # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
94
- # However, in case of collaboration, if having platform-specific dependencies or dependencies
95
- # having no cross-platform support, pipenv may install dependencies that don't work, or not
96
- # install all needed dependencies.
97
- # Pipfile.lock
98
-
99
- # UV
100
- # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
101
- # This is especially recommended for binary packages to ensure reproducibility, and is more
102
- # commonly ignored for libraries.
103
- # uv.lock
104
-
105
- # poetry
106
- # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
107
- # This is especially recommended for binary packages to ensure reproducibility, and is more
108
- # commonly ignored for libraries.
109
- # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
110
- # poetry.lock
111
- # poetry.toml
112
-
113
- # pdm
114
- # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
115
- # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
116
- # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
117
- # pdm.lock
118
- # pdm.toml
119
- .pdm-python
120
- .pdm-build/
121
-
122
- # pixi
123
- # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
124
- # pixi.lock
125
- # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
126
- # in the .venv directory. It is recommended not to include this directory in version control.
127
- .pixi/*
128
- !.pixi/config.toml
129
-
130
- # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
131
- __pypackages__/
132
-
133
- # Celery stuff
134
- celerybeat-schedule*
135
- celerybeat.pid
136
-
137
- # Redis
138
- *.rdb
139
- *.aof
140
- *.pid
141
-
142
- # RabbitMQ
143
- mnesia/
144
- rabbitmq/
145
- rabbitmq-data/
146
-
147
- # ActiveMQ
148
- activemq-data/
149
-
150
- # SageMath parsed files
151
- *.sage.py
152
-
153
- # Environments
154
- .env
155
- .envrc
156
- .venv
157
- .release-venv/
158
- env/
159
- venv/
160
- ENV/
161
- env.bak/
162
- venv.bak/
163
-
164
- # Spyder project settings
165
- .spyderproject
166
- .spyproject
167
-
168
- # Rope project settings
169
- .ropeproject
170
-
171
- # mkdocs documentation
172
- /site
173
-
174
- # mypy
175
- .mypy_cache/
176
- .dmypy.json
177
- dmypy.json
178
-
179
- # Pyre type checker
180
- .pyre/
181
-
182
- # pytype static type analyzer
183
- .pytype/
184
-
185
- # Cython debug symbols
186
- cython_debug/
187
-
188
- # PyCharm
189
- # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
190
- # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
191
- # and can be added to the global gitignore or merged into this file. For a more nuclear
192
- # option (not recommended) you can uncomment the following to ignore the entire idea folder.
193
- # .idea/
194
-
195
- # Abstra
196
- # Abstra is an AI-powered process automation framework.
197
- # Ignore directories containing user credentials, local state, and settings.
198
- # Learn more at https://abstra.io/docs
199
- .abstra/
200
-
201
- # Visual Studio Code
202
- # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore that
203
- # can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
204
- # and can be added to the global gitignore or merged into this file. However, if you prefer, you
205
- # could uncomment the following to ignore the entire vscode folder
206
- .vscode/
207
- # Temporary file for partial code execution
208
- tempCodeRunnerFile.py
209
-
210
- # Ruff stuff:
211
- .ruff_cache/
212
-
213
- # PyPI configuration file
214
- .pypirc
215
-
216
- # Marimo
217
- marimo/_static/
218
- marimo/_lsp/
219
- __marimo__/
220
-
221
- # Streamlit
222
- .streamlit/secrets.toml
223
-
224
- # ForgeMCP development artifacts
225
- /frontend/node_modules/
226
- /src/forgemcp/assets/*.html
227
- /examples/cpp-acceptance-project/build*/
228
- /examples/cpp-acceptance-project/out/
229
- /examples/cpp-acceptance-project/**/compile_commands.json
230
- /examples/cpp-acceptance-project/**/*.exe
231
- /examples/cpp-acceptance-project/**/*.pdb
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[codz]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py.cover
50
+ *.lcov
51
+ .hypothesis/
52
+ .pytest_cache/
53
+ .pytest_tmp/
54
+ cover/
55
+
56
+ # Translations
57
+ *.mo
58
+ *.pot
59
+
60
+ # Django stuff:
61
+ *.log
62
+ local_settings.py
63
+ db.sqlite3
64
+ db.sqlite3-journal
65
+
66
+ # Flask stuff:
67
+ instance/
68
+ .webassets-cache
69
+
70
+ # Scrapy stuff:
71
+ .scrapy
72
+
73
+ # Sphinx documentation
74
+ docs/_build/
75
+
76
+ # PyBuilder
77
+ .pybuilder/
78
+ target/
79
+
80
+ # Jupyter Notebook
81
+ .ipynb_checkpoints
82
+
83
+ # IPython
84
+ profile_default/
85
+ ipython_config.py
86
+
87
+ # pyenv
88
+ # For a library or package, you might want to ignore these files since the code is
89
+ # intended to run in multiple environments; otherwise, check them in:
90
+ # .python-version
91
+
92
+ # pipenv
93
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
94
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
95
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
96
+ # install all needed dependencies.
97
+ # Pipfile.lock
98
+
99
+ # UV
100
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
101
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
102
+ # commonly ignored for libraries.
103
+ # uv.lock
104
+
105
+ # poetry
106
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
107
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
108
+ # commonly ignored for libraries.
109
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
110
+ # poetry.lock
111
+ # poetry.toml
112
+
113
+ # pdm
114
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
115
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
116
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
117
+ # pdm.lock
118
+ # pdm.toml
119
+ .pdm-python
120
+ .pdm-build/
121
+
122
+ # pixi
123
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
124
+ # pixi.lock
125
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
126
+ # in the .venv directory. It is recommended not to include this directory in version control.
127
+ .pixi/*
128
+ !.pixi/config.toml
129
+
130
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
131
+ __pypackages__/
132
+
133
+ # Celery stuff
134
+ celerybeat-schedule*
135
+ celerybeat.pid
136
+
137
+ # Redis
138
+ *.rdb
139
+ *.aof
140
+ *.pid
141
+
142
+ # RabbitMQ
143
+ mnesia/
144
+ rabbitmq/
145
+ rabbitmq-data/
146
+
147
+ # ActiveMQ
148
+ activemq-data/
149
+
150
+ # SageMath parsed files
151
+ *.sage.py
152
+
153
+ # Environments
154
+ .env
155
+ .envrc
156
+ .venv
157
+ .release-venv/
158
+ env/
159
+ venv/
160
+ ENV/
161
+ env.bak/
162
+ venv.bak/
163
+
164
+ # Spyder project settings
165
+ .spyderproject
166
+ .spyproject
167
+
168
+ # Rope project settings
169
+ .ropeproject
170
+
171
+ # mkdocs documentation
172
+ /site
173
+
174
+ # mypy
175
+ .mypy_cache/
176
+ .dmypy.json
177
+ dmypy.json
178
+
179
+ # Pyre type checker
180
+ .pyre/
181
+
182
+ # pytype static type analyzer
183
+ .pytype/
184
+
185
+ # Cython debug symbols
186
+ cython_debug/
187
+
188
+ # PyCharm
189
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
190
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
191
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
192
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
193
+ # .idea/
194
+
195
+ # Abstra
196
+ # Abstra is an AI-powered process automation framework.
197
+ # Ignore directories containing user credentials, local state, and settings.
198
+ # Learn more at https://abstra.io/docs
199
+ .abstra/
200
+
201
+ # Visual Studio Code
202
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore that
203
+ # can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
204
+ # and can be added to the global gitignore or merged into this file. However, if you prefer, you
205
+ # could uncomment the following to ignore the entire vscode folder
206
+ .vscode/
207
+ # Temporary file for partial code execution
208
+ tempCodeRunnerFile.py
209
+
210
+ # Ruff stuff:
211
+ .ruff_cache/
212
+
213
+ # PyPI configuration file
214
+ .pypirc
215
+
216
+ # Marimo
217
+ marimo/_static/
218
+ marimo/_lsp/
219
+ __marimo__/
220
+
221
+ # Streamlit
222
+ .streamlit/secrets.toml
223
+
224
+ # ForgeMCP development artifacts
225
+ /frontend/node_modules/
226
+ /src/forgemcp/assets/*.html
227
+ /examples/cpp-acceptance-project/build*/
228
+ /examples/cpp-acceptance-project/out/
229
+ /examples/cpp-acceptance-project/**/compile_commands.json
230
+ /examples/cpp-acceptance-project/**/*.exe
231
+ /examples/cpp-acceptance-project/**/*.pdb
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 hardened-steel
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 hardened-steel
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: forge-cpp-mcp
3
- Version: 0.2.1
3
+ Version: 0.2.2
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
@@ -10,6 +10,7 @@ Author: ForgeMCP contributors
10
10
  License-Expression: MIT
11
11
  License-File: LICENSE
12
12
  Requires-Python: >=3.13
13
+ Requires-Dist: markdown-it-py>=4.0
13
14
  Requires-Dist: mcp[cli]==2.1.1
14
15
  Requires-Dist: pydantic>=2.13
15
16
  Requires-Dist: regex>=2024.11.6
@@ -56,8 +57,12 @@ debugger modules are planned.
56
57
  toolsets as markdown, querying available versions for details, with completion
57
58
  for retained toolset IDs.
58
59
 
59
- The tools remain useful in clients without MCP Apps support because the Python SDK
60
- serializes their typed results into both text `content` and `structuredContent`.
60
+ Every tool returns readable English plain text in `content` alongside its typed
61
+ `structuredContent`. Trees use branch characters, source excerpts use line numbers,
62
+ and diagnostics use compiler-style messages. Text does not include Markdown
63
+ formatting or Workspace provider resource links; the structured data retains those
64
+ links for widgets. Clients decide how to display the text and may prefer structured
65
+ data when supplying results to a model.
61
66
 
62
67
  All widgets share a compact console style with a fixed 420px height and adapt to the
63
68
  host width. The move confirmation uses only two rows, source and destination.
@@ -88,7 +93,7 @@ and install it in a virtual environment:
88
93
 
89
94
  ```powershell
90
95
  python -m venv .venv
91
- .\.venv\Scripts\python.exe -m pip install .\forge_cpp_mcp-0.2.1-py3-none-any.whl
96
+ .\.venv\Scripts\python.exe -m pip install .\forge_cpp_mcp-0.2.2-py3-none-any.whl
92
97
  .\.venv\Scripts\forgemcp.exe --help
93
98
  ```
94
99
 
@@ -100,7 +105,7 @@ The distribution name is `forge-cpp-mcp`; the Python module and server command a
100
105
  After the package is published to PyPI, the install command can instead be:
101
106
 
102
107
  ```powershell
103
- .\.venv\Scripts\python.exe -m pip install forge-cpp-mcp==0.2.1
108
+ .\.venv\Scripts\python.exe -m pip install forge-cpp-mcp==0.2.2
104
109
  ```
105
110
 
106
111
  ## Setup from source
@@ -163,13 +168,27 @@ add the `forgemcp` entry to it rather than replacing the file. Restart the clien
163
168
  after editing its configuration. Check the connection with `codex mcp list` or
164
169
  `claude mcp get forgemcp`, respectively.
165
170
 
171
+ To require agents to use ForgeMCP for supported operations, append the
172
+ [example agent instructions](examples/mcp-clients/agent-instructions.md) to your
173
+ project's `AGENTS.md` (Codex) or `CLAUDE.md` (Claude Code). The same block works
174
+ for both clients and requires evidence of an unsupported operation, tool failure,
175
+ or unavailability before using alternatives. Preserve existing project instructions.
176
+
166
177
  ## Workspace files and storage
167
178
 
168
179
  All file tools use string paths such as `project/src/main.cpp` and
169
180
  `storage/build/debug`. Directory tools default to `project/`; the separate tool
170
181
  argument `root` has been removed. Python consumers use the shared `WorkspacePath`
171
- type, which serializes as the same string. Storage defaults to `.<project-name>.forgemcp` beside the
172
- project. Set its location explicitly when needed:
182
+ type, which serializes as the same string. Tool path arguments also accept ordinary
183
+ relative paths: `src/main.cpp` and `./src/main.cpp` both mean `project/src/main.cpp`,
184
+ and `./` means `project/`. One trailing `/` is accepted for managed paths:
185
+ `project/src/` becomes `project/src`. Results always use canonical qualified paths.
186
+ The prefixes `project/`, `storage/`, and `root/` are reserved; use `./storage/...`
187
+ to access a project directory named `storage`. Absolute paths, `..`, and repeated
188
+ separators remain invalid; external locations require an explicit `root/` prefix.
189
+
190
+ Storage defaults to `.<project-name>.forgemcp` beside the project. Set its location
191
+ explicitly when needed:
173
192
 
174
193
  ```powershell
175
194
  forgemcp --workspace C:\Projects\Example --workspace-storage D:\ForgeMCP\Example
@@ -192,7 +211,7 @@ a working-directory check, not an operating-system sandbox.
192
211
  | `workspace_find_files(pattern="*", path="project/")` | Recursive filename/path glob search |
193
212
  | `workspace_file_info(path)` | Creation/modification times, byte size, owner; unavailable metadata is null |
194
213
  | `workspace_read_file(path, start_line=1, end_line=null)` | UTF-8 text, with an optional inclusive line range |
195
- | `workspace_search(query, path="project/", regex=false, extensions=null, case_sensitive=true)` | Matching lines and skipped binary/non-UTF-8 files |
214
+ | `workspace_text_search(query, path="project/", regex=false, extensions=null, case_sensitive=true, max_matches=100)` | Bounded matching lines, exact counts, and a linked skipped-file list |
196
215
  | `workspace_write_file(path, text)` | Create or overwrite; return removed/added line counts |
197
216
  | `workspace_edit_file(path, old_text, new_text, replace_all=false)` | Exact replacement; zero or ambiguous matches fail without modifying the file |
198
217
  | `workspace_move(source, destination)` | Move a file or directory; destination must not exist |
@@ -209,8 +228,15 @@ dot-prefixed files remain visible. Searches skip directories beginning with a do
209
228
  access hidden directories and in-root links. Mutations cannot traverse links;
210
229
  moving/removing a whole tree containing links is rejected. Dependent modules may
211
230
  register protected paths, which remain readable but cannot be changed through the
212
- workspace API. Searches intentionally have no application-level timeout, result
213
- limit, or pagination in this iteration.
231
+ workspace API. Searches have no application-level timeout or pagination. Text search
232
+ returns at most `max_matches` matching lines (positive integer, default 100), with
233
+ all spans on each returned line. It continues scanning to return exact
234
+ `matches_count` and `skipped_files_count`; `matches_truncated` indicates omitted
235
+ matching lines. The complete binary/non-UTF-8 file list is an immutable JSON resource
236
+ linked as `resources.skipped_files` when nonempty, rather than inline output.
237
+ The widget loads that snapshot for its skipped-files tab. Narrow the path/extensions
238
+ or increase `max_matches` to retrieve more matching lines. Individual lines and their
239
+ span arrays have no byte limit.
214
240
 
215
241
  File resource templates use a single path including its project/ or storage/ prefix:
216
242
 
@@ -220,7 +246,7 @@ forgemcp://workspace/raw{/path*}
220
246
  forgemcp://workspace/list{?path,depth,include_hidden}
221
247
  forgemcp://workspace/find-files{?pattern,path}
222
248
  forgemcp://workspace/file-info{?path}
223
- forgemcp://workspace/search{?query,path,regex,extensions,case_sensitive}
249
+ forgemcp://workspace/search{?query,path,regex,extensions,case_sensitive,max_matches}
224
250
  forgemcp://workspace/results/{result_id}/{name}.json
225
251
  forgemcp://workspace/results/{result_id}/{name}.md
226
252
  ```