mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
475002e49d
The canary pin existed for one reason: createChannel's identifyUser was absent from stable, and the pin carried a note that it must not reach users as-is. Stable has caught up -- @copilotkit/* 1.65.0 and @copilotkit/channels 0.6.0 -- so the workaround goes. This is not only hygiene. The runtime validates each delivery with an exact field set, so a client and a server that disagree fail in BOTH directions: a client expecting a field the server omits, and equally a client receiving one it does not expect. Now that every Intelligence environment sends the prepared turn's messageRef, pinning back to an older stable would break exactly as hard as staying on a canary would have before. 0.6.0 expects it, which is what makes it the correct pin rather than merely a newer one. Verified before committing: channels-intelligence@0.6.0 requires messageRef on a text turn, channels-core@0.6.0 carries identifyUser, and channels@0.6.0 pins its subpackages exactly rather than by range, so there is no internal skew. The reference starter installs, typechecks its channel host, and builds. Its one remaining tsc error is a pre-existing recharts type mismatch, untouched here. langgraph-fastapi is included: it does not ship a host, but this branch pinned it to the canary, so it cannot be left there.
47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
"name": "langgraph-python-starter",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "concurrently \"npm run dev:ui\" \"npm run dev:agent\" --names ui,agent --prefix-colors blue,green --kill-others",
|
|
"dev:debug": "LOG_LEVEL=debug npm run dev",
|
|
"dev:agent": "cd agent && uv run main.py",
|
|
"dev:ui": "next dev --turbopack",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"install:agent": "cd agent && uv sync",
|
|
"postinstall": "npm run install:agent"
|
|
},
|
|
"dependencies": {
|
|
"@copilotkit/a2ui-renderer": "1.65.0",
|
|
"@copilotkit/react-core": "1.65.0",
|
|
"@copilotkit/runtime": "1.65.0",
|
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
"@radix-ui/react-label": "^2.1.8",
|
|
"@radix-ui/react-separator": "^1.1.8",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"hono": "^4.12.10",
|
|
"lucide-react": "^0.577.0",
|
|
"next": "16.1.6",
|
|
"react": "^19.2.4",
|
|
"react-dom": "^19.2.4",
|
|
"react-rnd": "^10.5.2",
|
|
"react18-json-view": "^0.2.9",
|
|
"recharts": "^3.7.0",
|
|
"shiki": "^3.13.0",
|
|
"tailwind-merge": "^3.5.0",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"concurrently": "^9.1.2",
|
|
"tailwindcss": "^4",
|
|
"tsx": "^4.20.6",
|
|
"typescript": "^5"
|
|
}
|
|
}
|