Commit b669f64
chore: remove docs tools/resources, keep static reference data (#102)
* chore: add CVE-2026-4926 entry to CHANGELOG
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* chore: remove docs tools and resources, keep static reference data
Documentation retrieval (llms.txt fetching, get_latest_mapbox_docs_tool,
get_reference_tool) is now owned by the dedicated mcp-docs-server which
provides richer functionality: search, per-page fetching with .md support,
caching, and per-product resources.
Removed:
- MapboxDocumentationResource (fetched llms.txt — superseded by docs server)
- GetMapboxDocSourceTool / GetReferenceTool (resource fallback tools)
- RESOURCE_FALLBACK_TOOLS category and CLIENT_NEEDS_RESOURCE_FALLBACK handling
Kept:
- MapboxStyleLayersResource — layer types, paint/layout properties
- MapboxStreetsV8FieldsResource — used directly by StyleBuilderTool
- MapboxTokenScopesResource — token scope reference for auth flows
- MapboxLayerTypeMappingResource — source layer to GL layer type mapping
These four static resources are directly relevant to DevKit's core purpose
of style creation, validation, and optimization.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* chore: remove stale documentation tool references from README, docs, and prompts
- Remove Documentation Tools section from README (moved to mcp-docs-server)
- Delete docs/mapbox-docs-tool-demo.md
- Remove CLIENT_NEEDS_RESOURCE_FALLBACK section from README
- Update Resources section to remove get_reference_tool references
- Update prompt files to reference resource URIs directly
- Update tracing docs to remove stale tool names
- Fix prettier formatting in test files
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* docs: add mcp-docs-server reference and CHANGELOG entry for removed docs tools
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* chore: upgrade prettier to 3.8.3 to align CI and local formatting
package-lock.json was pinned to 3.6.2 while local install had 3.8.x,
causing conflicting formatting between CI and the pre-commit hook.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent f232ab3 commit b669f64
34 files changed
Lines changed: 50 additions & 1035 deletions
File tree
- docs
- src
- prompts
- resources
- mapbox-documentation-resource
- tools
- get-mapbox-doc-source-tool
- get-reference-tool
- test
- resources/mapbox-documentation-resource
- tools
- __snapshots__
- bounding-box-tool
- coordinate-conversion-tool
- create-style-tool
- create-token-tool
- delete-style-tool
- geojson-preview-tool
- get-mapbox-doc-source-tool
- list-styles-tool
- list-tokens-tool
- preview-style-tool
- retrieve-style-tool
- update-style-tool
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
3 | 8 | | |
4 | 9 | | |
5 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | | - | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | 120 | | |
136 | 121 | | |
137 | | - | |
138 | | - | |
139 | | - | |
| 122 | + | |
140 | 123 | | |
141 | 124 | | |
142 | 125 | | |
| |||
1053 | 1036 | | |
1054 | 1037 | | |
1055 | 1038 | | |
1056 | | - | |
| 1039 | + | |
1057 | 1040 | | |
1058 | 1041 | | |
1059 | 1042 | | |
| |||
1080 | 1063 | | |
1081 | 1064 | | |
1082 | 1065 | | |
1083 | | - | |
1084 | | - | |
1085 | | - | |
1086 | | - | |
1087 | | - | |
1088 | 1066 | | |
1089 | 1067 | | |
1090 | 1068 | | |
| |||
1311 | 1289 | | |
1312 | 1290 | | |
1313 | 1291 | | |
1314 | | - | |
1315 | | - | |
1316 | | - | |
1317 | | - | |
1318 | | - | |
1319 | | - | |
1320 | | - | |
1321 | | - | |
1322 | | - | |
1323 | | - | |
1324 | | - | |
1325 | | - | |
1326 | | - | |
1327 | | - | |
1328 | | - | |
1329 | | - | |
1330 | | - | |
1331 | | - | |
1332 | | - | |
1333 | | - | |
1334 | | - | |
1335 | | - | |
1336 | | - | |
1337 | 1292 | | |
1338 | 1293 | | |
1339 | 1294 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
304 | 303 | | |
305 | 304 | | |
306 | 305 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments