mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
a9933fe12c
Follow-up asks from Ben's review, plus a version alignment: - Add codeSplitting: false to the activity UMD build (matching a2ui-renderer), so it emits a single self-contained activity.umd.js. Without it a sibling chunk could leave the CopilotKitMcpAppsRendererActivity global incomplete, and es-check (syntax-only) would not catch it. - Run attw as two analyses instead of a package-wide suppression: the root entry with the esm-only profile (it wraps the ESM-only ext-apps bridge, so its CJS resolution is intentionally absent while ESM and type checks stay active), and the remaining entries with node16. This keeps no-resolution enforced on every other entry point instead of silencing the rule for the whole package. - Bump the package version 1.70.1 to 1.71.0 to match the shared-version monorepo scope, and regenerate the public API manifest.
78 lines
2.1 KiB
JSON
78 lines
2.1 KiB
JSON
{
|
|
"name": "@copilotkit/mcp-apps-renderer",
|
|
"version": "1.71.0",
|
|
"private": false,
|
|
"description": "Framework-agnostic MCP Apps host for CopilotKit - the app<->host protocol (ext-apps AppBridge), sandbox proxy, and shared renderer consumed by the React, Vue, and Angular frontends",
|
|
"keywords": [
|
|
"ai",
|
|
"copilotkit",
|
|
"mcp",
|
|
"mcp-apps",
|
|
"ext-apps",
|
|
"renderer",
|
|
"ui"
|
|
],
|
|
"homepage": "https://github.com/CopilotKit/CopilotKit",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/CopilotKit/CopilotKit.git",
|
|
"directory": "packages/mcp-apps-renderer"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"type": "module",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.mts",
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.mts",
|
|
"default": "./dist/index.mjs"
|
|
}
|
|
},
|
|
"./activity": {
|
|
"import": {
|
|
"types": "./dist/activity.d.mts",
|
|
"default": "./dist/activity.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/activity.d.cts",
|
|
"default": "./dist/activity.cjs"
|
|
}
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"compat-check": "es-check es2022 --module 'dist/**/!(*.umd).{mjs,cjs,js}' && es-check es2018 'dist/**/*.umd.js'",
|
|
"check-types": "tsc --noEmit -p tsconfig.json",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"publint": "publint .",
|
|
"attw": "attw --pack . --profile esm-only --entrypoints . && attw --pack . --profile node16 --exclude-entrypoints ."
|
|
},
|
|
"dependencies": {
|
|
"@copilotkit/shared": "workspace:*",
|
|
"@modelcontextprotocol/ext-apps": "^1.7.5",
|
|
"@modelcontextprotocol/sdk": "^1.29.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@ag-ui/client": "0.0.59",
|
|
"zod": ">=3.25"
|
|
},
|
|
"devDependencies": {
|
|
"@ag-ui/client": "0.0.59",
|
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
"jsdom": "^26.1.0",
|
|
"tsdown": "^0.20.3",
|
|
"typescript": "5.9.2",
|
|
"vitest": "^3.2.4",
|
|
"zod": "^3.25.76"
|
|
}
|
|
}
|