{"name":"@mcp-b/webmcp-types","version":"6.0.2","author":{"name":"Alex Nahas"},"license":"MIT","_id":"@mcp-b/webmcp-types@6.0.2","maintainers":[{"name":"osigvelo","email":"omar@sigvelo.com"},{"name":"miguelspizza","email":"alexmnahas@gmail.com"}],"homepage":"https://github.com/webmachinelearning/webmcp-types","bugs":{"url":"https://github.com/WebMCP-org/npm-packages/issues"},"dist":{"shasum":"fdae6d11fd6f13db76784965c40eee123a8501dd","tarball":"http://registry-npm.ywwl.com/@mcp-b/webmcp-types/download/@mcp-b/webmcp-types-6.0.2.tgz","fileCount":4,"integrity":"sha512-GgVj80pNLq9fUJ7e67PPu0sie8z2EbVeKuFXuVqZ+BNEh9j8rLjal87lQRFwlLaRLPAhdSuDtfLx8NFTO0raow==","signatures":[{"sig":"MEYCIQCuEXyB70/v/YOUJXTiAvWqljqXnPLD3KUo1Mkh/qhyuAIhAPZceI/ylfT+dqoKSj1F1I2wuoYj+32FvelqoR2nGxk/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIB+fuzJf9YdGy9FwUiXXj5s7MLdNiGEvvMSDyhwhphPFAiEA8VBJaXfQBaOcFqZa2bljlcVTqN7ggGuPjdIj9W30sRM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@mcp-b%2fwebmcp-types@6.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3417,"size":1817,"noattachment":false,"key":"/@mcp-b/webmcp-types/-/@mcp-b/webmcp-types-6.0.2.tgz"},"type":"module","_from":"file:mcp-b-webmcp-types-6.0.2.tgz","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts"}},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"f71f7ba1-69ee-4993-9b47-a2de94bc19e8"}},"_resolved":"/tmp/838fe2123ec95a4c4b197bfd038df821/mcp-b-webmcp-types-6.0.2.tgz","_integrity":"sha512-GgVj80pNLq9fUJ7e67PPu0sie8z2EbVeKuFXuVqZ+BNEh9j8rLjal87lQRFwlLaRLPAhdSuDtfLx8NFTO0raow==","repository":{"url":"git+https://github.com/WebMCP-org/npm-packages.git","type":"git","directory":"packages/webmcp-types"},"_npmVersion":"11.14.1","description":"Compatibility alias for upstream webmcp-types; use webmcp-types directly","directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","dependencies":{"webmcp-types":"0.1.9"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/webmcp-types_6.0.2_1791907679535_0.9342868512537312","host":"s3://npm-registry-packages-npm-production"},"readme":"# @mcp-b/webmcp-types\n\nThis package is a compatibility alias for the upstream\n[`webmcp-types`](https://github.com/webmachinelearning/webmcp-types) package.\nIt forwards upstream type exports and browser declarations directly.\n\n**This package will eventually be removed. Please use `webmcp-types` directly.**\nThere is no removal date yet.\n\n## Migrate to upstream\n\n```bash\npnpm remove @mcp-b/webmcp-types\npnpm add -D webmcp-types@0.1.9\n```\n\nChange the import to the upstream package:\n\n```ts\nimport type { WebMCP } from 'webmcp-types';\n\nconst context: WebMCP.ModelContext | undefined = document.modelContext;\n```\n\nAlso replace `@mcp-b/webmcp-types` with `webmcp-types` in TypeScript `types`\nconfiguration and triple-slash references, if used. Published libraries whose\ndeclarations reference these types should declare `webmcp-types` as a production\ndependency.\n\n## Compatibility\n\nThe alias exports the same `WebMCP` namespace as upstream. Existing consumers can\nuse it while migrating:\n\n```ts\nimport type { WebMCP } from '@mcp-b/webmcp-types';\n```\n\nThe previous package's top-level type exports are not reproduced. Use upstream\ntypes such as `WebMCP.ModelContext` and `WebMCP.ModelContextTool`. MCP-B extension\ntypes, including `ToolDescriptor` and `ModelContextWithExtensions`, now live in\n[`@mcp-b/webmcp-ts-sdk`](../webmcp-ts-sdk/README.md).\n\nSee the [upstream README](https://github.com/webmachinelearning/webmcp-types#readme)\nfor the API and schema inference documentation.\n\n## License\n\nMIT.\n","publish_time":1791907679620,"_cnpm_publish_time":1791907679620,"dist-tags":{"beta":"6.0.0-beta.20261001010549","canary":"0.1.0-canary.20260214192802","latest":"6.2.0"}}