mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
6c25273afe
The packaged skills had grown into a second copy of the documentation. `runtime` and `react-core` were roughly 60% transcribed API surface, and most of their remaining "Common Mistakes" prose already existed on a docs page. A cached copy of an API goes stale silently: four claims in the deleted skills contradicted the source they cited, and one of them reached a shipped PR before it was caught. Replace them with two skills that look the answer up instead of restating it: - `copilotkit` — the four search tools and two explore tools of the bundled `copilotkit-docs` MCP server, which corpus answers which question, and the instruction not to answer from memory. - `copilotkit-cli` — the CLI, led by `copilotkit verify --json`. Since #1180 `verify` covers version skew, CORS, and transcription, which is what most of the old `copilotkit-debug` skill described by hand. Deleted: copilotkit-setup, copilotkit-develop, copilotkit-integrations, copilotkit-debug, copilotkit-upgrade, copilotkit-agui, copilotkit-contribute, copilotkit-self-update, and the three package-generated skills (react-core, runtime, a2ui-renderer). The `skills` directory is dropped from the `files` field of the three packages that shipped one, so the tarballs no longer carry a copy. `public-skill-drift.test.ts` guarded wording in files that no longer exist. It is now a link guard: every `docs.copilotkit.ai` path named by a packaged skill has to resolve to a page in this repo, and the two entry points have to stay free of a transcribed API surface. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
200 lines
5.2 KiB
JSON
200 lines
5.2 KiB
JSON
{
|
|
"name": "@copilotkit/runtime",
|
|
"version": "1.71.0",
|
|
"private": false,
|
|
"keywords": [
|
|
"ai",
|
|
"assistant",
|
|
"automation",
|
|
"copilot",
|
|
"copilotkit",
|
|
"javascript",
|
|
"nextjs",
|
|
"nodejs",
|
|
"react",
|
|
"tanstack-intent",
|
|
"textarea"
|
|
],
|
|
"homepage": "https://github.com/CopilotKit/CopilotKit",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/CopilotKit/CopilotKit.git"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"sideEffects": [
|
|
"./dist/index.mjs",
|
|
"./dist/index.cjs",
|
|
"./dist/v2/index.mjs",
|
|
"./dist/v2/index.cjs"
|
|
],
|
|
"main": "./dist/index.cjs",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.cts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.cjs"
|
|
},
|
|
"./langgraph": {
|
|
"import": "./dist/langgraph.mjs",
|
|
"require": "./dist/langgraph.cjs"
|
|
},
|
|
"./v2": {
|
|
"import": "./dist/v2/index.mjs",
|
|
"require": "./dist/v2/index.cjs"
|
|
},
|
|
"./v2/express": {
|
|
"import": "./dist/v2/express.mjs",
|
|
"require": "./dist/v2/express.cjs"
|
|
},
|
|
"./v2/hono": {
|
|
"import": "./dist/v2/hono.mjs",
|
|
"require": "./dist/v2/hono.cjs"
|
|
},
|
|
"./v2/node": {
|
|
"import": "./dist/v2/node.mjs",
|
|
"require": "./dist/v2/node.cjs"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"build": "tsdown && node ../../scripts/deprecations/v1-dist-notices.mjs --entrypoint runtime,runtime-langgraph",
|
|
"dev": "tsdown --watch",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"check-types": "tsc --noEmit",
|
|
"generate-graphql-schema": "node -e \"const fs=require('fs');fs.rmSync('__snapshots__',{recursive:true,force:true})\" && ts-node --transpile-only ./scripts/generate-gql-schema.ts",
|
|
"link:global": "pnpm link --global",
|
|
"unlink:global": "pnpm unlink --global",
|
|
"check-dts": "tsx ../../scripts/validate-dts-ambient.ts dist && tsx ../../scripts/validate-dts-imports.ts dist",
|
|
"publint": "publint .",
|
|
"attw": "attw --pack . --profile node16"
|
|
},
|
|
"dependencies": {
|
|
"@ag-ui/a2ui-middleware": "0.0.10",
|
|
"@ag-ui/client": "0.0.59",
|
|
"@ag-ui/core": "0.0.59",
|
|
"@ag-ui/encoder": "0.0.59",
|
|
"@ag-ui/langgraph": "0.0.43",
|
|
"@ag-ui/mcp-apps-middleware": "0.0.3",
|
|
"@ag-ui/mcp-middleware": "0.0.1",
|
|
"@ai-sdk/anthropic": "^3.0.49",
|
|
"@ai-sdk/google": "^3.0.33",
|
|
"@ai-sdk/google-vertex": "^3.0.97",
|
|
"@ai-sdk/mcp": "^1.0.21",
|
|
"@ai-sdk/openai": "^3.0.36",
|
|
"@copilotkit/channels-core": "workspace:^",
|
|
"@copilotkit/channels-intelligence": "workspace:*",
|
|
"@copilotkit/license-verifier": "~0.5.0",
|
|
"@copilotkit/shared": "workspace:*",
|
|
"@graphql-yoga/plugin-defer-stream": "^3.3.1",
|
|
"@hono/node-server": "^1.13.5",
|
|
"@modelcontextprotocol/sdk": "^1.18.2",
|
|
"@remix-run/node-fetch-server": "^0.13.0",
|
|
"@scarf/scarf": "^1.3.0",
|
|
"@segment/analytics-node": "^2.1.2",
|
|
"@types/cors": "^2.8.17",
|
|
"@types/express": "^4.17.21",
|
|
"ai": "^6.0.104",
|
|
"clarinet": "^0.12.4",
|
|
"class-transformer": "^0.5.1",
|
|
"class-validator": "^0.14.1",
|
|
"cors": "^2.8.5",
|
|
"express": "^4.21.2",
|
|
"graphql": "^16.8.1",
|
|
"graphql-scalars": "^1.23.0",
|
|
"graphql-yoga": "^5.3.1",
|
|
"hono": "^4.11.4",
|
|
"openai": "^4.85.1 || >=5.0.0",
|
|
"partial-json": "^0.1.7",
|
|
"phoenix": "^1.8.4",
|
|
"pino": "^9.2.0",
|
|
"pino-pretty": "^11.2.1",
|
|
"reflect-metadata": "^0.2.2",
|
|
"rxjs": "7.8.1",
|
|
"type-graphql": "2.0.0-rc.1",
|
|
"uuid": "^11.1.0",
|
|
"ws": "^8.18.0",
|
|
"zod": "^3.23.3"
|
|
},
|
|
"devDependencies": {
|
|
"@copilotkit/aimock": "latest",
|
|
"@copilotkit/channels": "workspace:*",
|
|
"@swc/core": "1.5.28",
|
|
"@tanstack/intent": "^0.0.29",
|
|
"@types/node": "^18.11.17",
|
|
"@types/phoenix": "^1.6.6",
|
|
"@valibot/to-json-schema": "^1.5.0",
|
|
"@vitest/coverage-v8": "^3.2.4",
|
|
"@whatwg-node/server": "^0.9.34",
|
|
"arktype": "^2.1.29",
|
|
"elysia": "^1.2.25",
|
|
"eslint": "^8.56.0",
|
|
"nodemon": "^3.1.3",
|
|
"supertest": "^7.1.1",
|
|
"ts-node": "^10.9.2",
|
|
"tsconfig": "workspace:*",
|
|
"tsdown": "^0.20.3",
|
|
"typescript": "^5.2.3",
|
|
"valibot": "^1.2.0",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"peerDependencies": {
|
|
"@anthropic-ai/sdk": ">=0.57.0",
|
|
"@langchain/aws": ">=0.1.9",
|
|
"@langchain/community": ">=0.3.58",
|
|
"@langchain/core": ">=0.3.66",
|
|
"@langchain/google-gauth": ">=0.1.0",
|
|
"@langchain/langgraph-sdk": ">=0.1.2",
|
|
"@langchain/openai": ">=0.4.2",
|
|
"groq-sdk": ">=0.3.0 <1.0.0",
|
|
"langchain": ">=0.3.3",
|
|
"openai": "^4.85.1 || >=5.0.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@anthropic-ai/sdk": {
|
|
"optional": true
|
|
},
|
|
"@langchain/aws": {
|
|
"optional": true
|
|
},
|
|
"@langchain/community": {
|
|
"optional": true
|
|
},
|
|
"@langchain/google-gauth": {
|
|
"optional": true
|
|
},
|
|
"@langchain/langgraph-sdk": {
|
|
"optional": true
|
|
},
|
|
"@langchain/openai": {
|
|
"optional": true
|
|
},
|
|
"groq-sdk": {
|
|
"optional": true
|
|
},
|
|
"langchain": {
|
|
"optional": true
|
|
},
|
|
"openai": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"nx": {
|
|
"targets": {
|
|
"build": {
|
|
"dependsOn": [
|
|
"generate-graphql-schema",
|
|
"^build"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|