Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions apps/dojo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,15 @@
"@ag-ui/spring-ai": "workspace:*",
"@ag-ui/vercel-ai-sdk": "workspace:*",
"@ai-sdk/openai": "^2.0.42",
"@copilotkit/react-core": "1.10.6",
"@copilotkit/react-ui": "1.10.6",
"@copilotkit/runtime": "1.10.6",
"@copilotkit/runtime-client-gql": "1.10.6",
"@copilotkit/shared": "1.10.6",
"@copilotkitnext/react": "0.0.19-alpha.0",
"@copilotkitnext/runtime": "0.0.19-alpha.0",
"@copilotkitnext/agent": "0.0.19-alpha.0",
"@copilotkit/react-core": "1.50.0-beta.1",
"@copilotkit/react-ui": "1.50.0-beta.1",
"@copilotkit/runtime": "1.50.0-beta.1",
"@copilotkit/runtime-client-gql": "1.50.0-beta.1",
"@copilotkit/shared": "1.50.0-beta.1",
"@copilotkitnext/agent": "0.0.22",
"@copilotkitnext/core": "0.0.22",
"@copilotkitnext/react": "0.0.22",
"@copilotkitnext/runtime": "0.0.22",
"@mastra/client-js": "^0.15.2",
"@mastra/core": "^0.20.2",
"@mastra/dynamodb": "^0.15.6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ export async function POST(request: NextRequest) {

return handleRequest(request);
}

1,297 changes: 1,145 additions & 152 deletions integrations/adk-middleware/python/examples/uv.lock

Large diffs are not rendered by default.

269 changes: 262 additions & 7 deletions integrations/langgraph/python/examples/uv.lock

Large diffs are not rendered by default.

13 changes: 9 additions & 4 deletions integrations/mastra/typescript/src/copilotkit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ import {
import { RuntimeContext } from "@mastra/core/runtime-context";
import { registerApiRoute } from "@mastra/core/server";
import { MastraAgent } from "./mastra";
export function registerCopilotKit<T extends Record<string, any> | unknown = unknown>({
export function registerCopilotKit<
T extends Record<string, any> | unknown = unknown,
>({
path,
resourceId,
serviceAdapter = new ExperimentalEmptyAdapter(),
Expand All @@ -19,7 +21,10 @@ export function registerCopilotKit<T extends Record<string, any> | unknown = unk
resourceId: string;
serviceAdapter?: CopilotServiceAdapter;
agents?: Record<string, AbstractAgent>;
setContext?: (c: any, runtimeContext: RuntimeContext<T>) => void | Promise<void>;
setContext?: (
c: any,
runtimeContext: RuntimeContext<T>
) => void | Promise<void>;
}) {
return registerApiRoute(path, {
method: `ALL`,
Expand All @@ -41,7 +46,7 @@ export function registerCopilotKit<T extends Record<string, any> | unknown = unk
});

const runtime = new CopilotRuntime({
agents: aguiAgents,
agents: Promise.resolve(aguiAgents) as any,
});

const handler = copilotRuntimeNodeHttpEndpoint({
Expand All @@ -50,7 +55,7 @@ export function registerCopilotKit<T extends Record<string, any> | unknown = unk
serviceAdapter,
});

return handler.handle(c.req.raw, {});
return (handler as any).handle(c.req.raw, {});
},
});
}
1,249 changes: 1,249 additions & 0 deletions integrations/pydantic-ai/python/examples/poetry.lock

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions integrations/pydantic-ai/python/examples/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@ description = "Example usage of the AG-UI adapter for Pydantic AI"
license = "MIT"

readme = "README.md"
requires-python = ">=3.9"
requires-python = ">=3.10,<4.0"
dependencies = [
"fastapi>=0.104.0",
"uvicorn[standard]>=0.24.0",
"pydantic-ai-slim[openai,ag-ui]>=0.1.0",
"pydantic-ai-slim[openai,ag-ui]==1.20.0",
]
authors = []

[project.scripts]
dev = "server:main"

156 changes: 29 additions & 127 deletions integrations/pydantic-ai/python/examples/uv.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions integrations/server-starter/python/examples/poetry.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[virtualenvs]
in-project = true
404 changes: 246 additions & 158 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

Loading