Files

51 lines
1.5 KiB
JSON
Raw Permalink Normal View History

{
"name": "copilotkit-microsoft-agent-framework-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": "./scripts/run-agent.sh || scripts\\run-agent.bat",
"dev:ui": "next dev --turbopack",
"build": "next build",
"start": "next start",
"lint": "next lint",
"install:agent": "./scripts/setup-agent.sh || scripts\\setup-agent.bat",
feat(examples): add managed Channel hosts to the HttpAgent starters Same extraction as langgraph-python across the nine starters whose runtime route builds a generic HttpAgent (adk, agno, claude-sdk-python, claude-sdk-typescript, crewai-flows, ms-agent-framework-dotnet, ms-agent-framework-python, pydantic-ai, strands-python). Each starter's route now imports createDefaultAgent() from a new src/agent.ts instead of constructing HttpAgent inline; the URL fallback/normalisation logic is preserved verbatim per starter (identical bodies for four, agno's "/agui" suffix, claude-sdk-*'s trailing-slash strip, crewai-flows' bare strip, strands-python's second STRANDS_AGENT_URL fallback). Each starter also gets channel-host.mts (copied verbatim from langgraph-python) and its own tsconfig.channel.json, needed because the starters' shared allowJs:true tsconfig makes tsx's resolver prefer a stray index.ts the published fast-json-patch package ships without its source, which otherwise crashes the channel script before it runs. package.json gains the channel/typecheck:channel scripts and three deps: dotenv, @copilotkit/channels (pinned to the same 1785633429 canary build as the other @copilotkit/* packages), and tsx as a devDependency. This canary pin is a temporary workaround pending a stable release with identifyUser support, and must move before this path ships to users. ms-agent-framework-dotnet's postinstall (a .NET SDK probe) fails on machines without the SDK installed; dependency resolution itself succeeds and is unaffected. crewai-flows, pydantic-ai, and strands-python each carry a small number of pre-existing, unrelated tsc --noEmit errors (JSX/recharts typing clashes and a missing exported type) not touched by this change.
2026-08-02 00:16:26 -05:00
"postinstall": "npm run install:agent",
"channel": "tsx --tsconfig tsconfig.channel.json channel-host.mts",
"typecheck:channel": "tsc -p tsconfig.channel.json --noEmit"
},
"dependencies": {
"@ag-ui/client": "0.0.59",
"@copilotkit/channels": "0.9.0",
"@copilotkit/react-core": "1.70.2",
"@copilotkit/runtime": "1.70.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
feat(examples): add managed Channel hosts to the HttpAgent starters Same extraction as langgraph-python across the nine starters whose runtime route builds a generic HttpAgent (adk, agno, claude-sdk-python, claude-sdk-typescript, crewai-flows, ms-agent-framework-dotnet, ms-agent-framework-python, pydantic-ai, strands-python). Each starter's route now imports createDefaultAgent() from a new src/agent.ts instead of constructing HttpAgent inline; the URL fallback/normalisation logic is preserved verbatim per starter (identical bodies for four, agno's "/agui" suffix, claude-sdk-*'s trailing-slash strip, crewai-flows' bare strip, strands-python's second STRANDS_AGENT_URL fallback). Each starter also gets channel-host.mts (copied verbatim from langgraph-python) and its own tsconfig.channel.json, needed because the starters' shared allowJs:true tsconfig makes tsx's resolver prefer a stray index.ts the published fast-json-patch package ships without its source, which otherwise crashes the channel script before it runs. package.json gains the channel/typecheck:channel scripts and three deps: dotenv, @copilotkit/channels (pinned to the same 1785633429 canary build as the other @copilotkit/* packages), and tsx as a devDependency. This canary pin is a temporary workaround pending a stable release with identifyUser support, and must move before this path ships to users. ms-agent-framework-dotnet's postinstall (a .NET SDK probe) fails on machines without the SDK installed; dependency resolution itself succeeds and is unaffected. crewai-flows, pydantic-ai, and strands-python each carry a small number of pre-existing, unrelated tsc --noEmit errors (JSX/recharts typing clashes and a missing exported type) not touched by this change.
2026-08-02 00:16:26 -05:00
"dotenv": "^16.4.7",
"hono": "^4.12.10",
"lucide-react": "^0.525.0",
"next": "16.0.8",
"react": "19.2.8",
"react-dom": "19.2.8",
"tailwind-merge": "^3.5.0",
"zod": "^3.24.4"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"concurrently": "^9.1.2",
"tailwindcss": "^4",
feat(examples): add managed Channel hosts to the HttpAgent starters Same extraction as langgraph-python across the nine starters whose runtime route builds a generic HttpAgent (adk, agno, claude-sdk-python, claude-sdk-typescript, crewai-flows, ms-agent-framework-dotnet, ms-agent-framework-python, pydantic-ai, strands-python). Each starter's route now imports createDefaultAgent() from a new src/agent.ts instead of constructing HttpAgent inline; the URL fallback/normalisation logic is preserved verbatim per starter (identical bodies for four, agno's "/agui" suffix, claude-sdk-*'s trailing-slash strip, crewai-flows' bare strip, strands-python's second STRANDS_AGENT_URL fallback). Each starter also gets channel-host.mts (copied verbatim from langgraph-python) and its own tsconfig.channel.json, needed because the starters' shared allowJs:true tsconfig makes tsx's resolver prefer a stray index.ts the published fast-json-patch package ships without its source, which otherwise crashes the channel script before it runs. package.json gains the channel/typecheck:channel scripts and three deps: dotenv, @copilotkit/channels (pinned to the same 1785633429 canary build as the other @copilotkit/* packages), and tsx as a devDependency. This canary pin is a temporary workaround pending a stable release with identifyUser support, and must move before this path ships to users. ms-agent-framework-dotnet's postinstall (a .NET SDK probe) fails on machines without the SDK installed; dependency resolution itself succeeds and is unaffected. crewai-flows, pydantic-ai, and strands-python each carry a small number of pre-existing, unrelated tsc --noEmit errors (JSX/recharts typing clashes and a missing exported type) not touched by this change.
2026-08-02 00:16:26 -05:00
"tsx": "^4.19.2",
"typescript": "^5"
},
"overrides": {
"@ag-ui/client": "0.0.59",
"@ag-ui/core": "0.0.59",
"@ag-ui/encoder": "0.0.59",
"@ag-ui/proto": "0.0.59"
}
}