mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
e8d5fa71d6
## Summary
`packages/runtime` declares its own `"uuid": "^10.0.0"` dependency, but
nothing in the package's source actually imports it directly — id
generation in `@copilotkit/runtime` goes through `randomUUID()`
re-exported from `@copilotkit/shared`, which already depends on
`uuid@^11.1.0`. The unused v10 pin just adds an npm deprecation warning
for every consumer installing `@copilotkit/runtime`:
```
npm warn deprecated uuid@10.0.0: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).
```
This bumps it to `^11.1.0` to match `@copilotkit/shared` and clears the
warning.
## Test plan
- [x] `pnpm --filter "@copilotkit/runtime^..." run build` — all
workspace dependencies build cleanly
- [x] `pnpm --filter @copilotkit/runtime run check-types` — no type
errors
- [x] `pnpm --filter @copilotkit/runtime run test` — 126 test files /
1746 tests passing
- [x] Confirmed no file in `packages/runtime/src` imports `uuid`
directly (grepped for both `from "uuid"` / `from 'uuid'` and
`require("uuid")` — zero matches)
- [x] Confirmed `pnpm-lock.yaml` now resolves `uuid@11.1.0` for this
dependency, which is not on npm's deprecated-versions list
🤖 Generated with [Claude Code](https://claude.com/claude-code)
200 lines
5.1 KiB
JSON
200 lines
5.1 KiB
JSON
{
|
|
"name": "@copilotkit/runtime",
|
|
"version": "1.67.1",
|
|
"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",
|
|
"skills"
|
|
],
|
|
"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",
|
|
"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",
|
|
"publint": "publint .",
|
|
"attw": "attw --pack . --profile node16"
|
|
},
|
|
"dependencies": {
|
|
"@ag-ui/a2ui-middleware": "0.0.10",
|
|
"@ag-ui/client": "0.0.57",
|
|
"@ag-ui/core": "0.0.57",
|
|
"@ag-ui/encoder": "0.0.57",
|
|
"@ag-ui/langgraph": "0.0.42",
|
|
"@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",
|
|
"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/cors": "^2.8.17",
|
|
"@types/express": "^4.17.21",
|
|
"@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"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|