Skip to content

Commit f64850d

Browse files
committed
fix: remove agent from pnpm workspace to fix Render build
The agent's package.json made it a pnpm workspace member, so pnpm install on the Node frontend service triggered "uv sync" in an environment where uv doesn't exist — breaking Render deploys. Remove apps/agent/package.json entirely (matching the Shadify pattern) and run the agent dev server via a direct shell command in the root package.json instead of through Turbo.
1 parent 20cd544 commit f64850d

4 files changed

Lines changed: 11 additions & 942 deletions

File tree

apps/agent/package.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"name": "copilotkit-langgraph-template",
33
"private": true,
44
"scripts": {
5-
"dev": "turbo run dev",
5+
"dev": "concurrently \"turbo run dev\" \"pnpm run dev:agent\" --names turbo,agent --kill-others",
66
"dev:app": "turbo run dev --filter='app'",
7-
"dev:agent": "turbo run dev --filter='agent'",
7+
"dev:agent": "cd apps/agent && uv sync && uv run uvicorn main:app --host 0.0.0.0 --port 8123 --reload",
88
"dev:mcp": "turbo run dev --filter='mcp'",
99
"build": "turbo run build",
1010
"lint": "turbo run lint",

0 commit comments

Comments
 (0)