@get-technology-inc/jamf-docs-mcp-server 4.0.1 → 4.0.2
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.
- package/README.md +18 -3
- package/dist/core/apps/generated/app-html.d.ts +2 -0
- package/dist/core/apps/generated/app-html.d.ts.map +1 -1
- package/dist/core/apps/generated/app-html.js +2 -0
- package/dist/core/apps/generated/app-html.js.map +1 -1
- package/dist/core/apps/index.d.ts +18 -2
- package/dist/core/apps/index.d.ts.map +1 -1
- package/dist/core/apps/index.js +23 -4
- package/dist/core/apps/index.js.map +1 -1
- package/dist/core/create-server.d.ts +8 -2
- package/dist/core/create-server.d.ts.map +1 -1
- package/dist/core/create-server.js.map +1 -1
- package/dist/core/services/article-service.js.map +1 -1
- package/dist/core/services/glossary.d.ts.map +1 -1
- package/dist/core/services/glossary.js +17 -9
- package/dist/core/services/glossary.js.map +1 -1
- package/dist/core/services/maps-registry.d.ts.map +1 -1
- package/dist/core/services/maps-registry.js +5 -1
- package/dist/core/services/maps-registry.js.map +1 -1
- package/dist/core/services/search-service.d.ts.map +1 -1
- package/dist/core/services/search-service.js +6 -1
- package/dist/core/services/search-service.js.map +1 -1
- package/dist/core/services/toc-service.d.ts.map +1 -1
- package/dist/core/services/toc-service.js +7 -3
- package/dist/core/services/toc-service.js.map +1 -1
- package/dist/core/types.d.ts +32 -9
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js.map +1 -1
- package/dist/core/utils/ft-metadata.d.ts +10 -2
- package/dist/core/utils/ft-metadata.d.ts.map +1 -1
- package/dist/core/utils/ft-metadata.js +10 -2
- package/dist/core/utils/ft-metadata.js.map +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -287,9 +287,15 @@ Hosts that negotiate the MCP Apps extension (`io.modelcontextprotocol/ui`) rende
|
|
|
287
287
|
`jamf_docs_search`, `jamf_docs_get_toc` and `jamf_docs_get_article` results as an
|
|
288
288
|
interactive viewer instead of plain markdown: search hits are clickable through to
|
|
289
289
|
the article, TOC entries open in place, and articles carry section navigation and a
|
|
290
|
-
back stack. All three tools reference one self-contained `ui
|
|
291
|
-
|
|
292
|
-
|
|
290
|
+
back stack. All three tools reference one self-contained `ui://` resource, whose
|
|
291
|
+
URI carries a hash of the bundle it names (`ui://jamf-docs/app-<hash>.html`).
|
|
292
|
+
Hosts that do not negotiate the extension ignore the metadata and get exactly the
|
|
293
|
+
markdown they always did.
|
|
294
|
+
|
|
295
|
+
The resource is served with a 24-hour public cache hint, which is safe precisely
|
|
296
|
+
because the URI is content-addressed: a given URI names one exact bundle forever,
|
|
297
|
+
and a new bundle arrives under a new URI rather than replacing an old one. Hosts
|
|
298
|
+
pick up a changed viewer on their next `tools/list` refresh.
|
|
293
299
|
|
|
294
300
|
> [!WARNING]
|
|
295
301
|
> **The MCP Apps viewer is broken in 4.0.0 — upgrade past it.** The build step that
|
|
@@ -300,6 +306,15 @@ exactly the markdown they always did.
|
|
|
300
306
|
> 4.0.0 is affected — tools, resources and prompts return the same results either
|
|
301
307
|
> way, since a host that cannot render the app falls back to the markdown. Fixed in
|
|
302
308
|
> 4.0.1.
|
|
309
|
+
>
|
|
310
|
+
> **4.0.1 alone did not reach every host.** Up to and including 4.0.1 the resource
|
|
311
|
+
> lived at a fixed `ui://jamf-docs/app.html` with a 24-hour public cache hint, so a
|
|
312
|
+
> host that had read the broken 4.0.0 bundle kept serving it from cache for up to a
|
|
313
|
+
> day after the server was upgraded — the corrected bundle was published under the
|
|
314
|
+
> same URI and never fetched. Upgrading past 4.0.1 fixes the distribution as well as
|
|
315
|
+
> the bundle: the URI now changes with the content, so a host holding the 4.0.0 copy
|
|
316
|
+
> simply stops asking for it. No manual cache clearing is needed, and the remaining
|
|
317
|
+
> delay is the one-hour `tools/list` hint rather than 24 hours.
|
|
303
318
|
|
|
304
319
|
## HTTP/SSE Transport Mode
|
|
305
320
|
|