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
4 changes: 4 additions & 0 deletions typescript/framework-extensions/vercel-ai-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# @coinbase/agentkit-vercel-ai-sdk

## 0.2.0

- Ai-sdk v5 Support.

Comment on lines +3 to +6
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

## 0.1.0

### Minor Changes
Expand Down
6 changes: 3 additions & 3 deletions typescript/framework-extensions/vercel-ai-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coinbase/agentkit-vercel-ai-sdk",
"version": "0.1.0",
"version": "0.2.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please revert, we will bump the version when running releases

"description": "Vercel AI SDK extension of CDP Agentkit",
"repository": "https://github.com/coinbase/agentkit",
"author": "Coinbase Inc.",
Expand Down Expand Up @@ -39,13 +39,13 @@
"ai-sdk"
],
"dependencies": {
"zod": "^3.22.4"
"zod": "^3.25.76"
},
"devDependencies": {
"@coinbase/agentkit": "workspace:*"
},
"peerDependencies": {
"@coinbase/agentkit": ">=0.1.0",
"ai": "^4.1.16"
"ai": "^5.0.49"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe("getVercelAITools", () => {
const tool = tools.testAction;

expect((tool as { description?: string }).description).toBe(mockAction.description);
expect(tool.parameters).toBe(mockAction.schema);
expect(tool.inputSchema).toBe(mockAction.schema);

// Test execution with required options
const result = await tool.execute!(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function getVercelAITools(agentKit: AgentKit): ToolSet {
return actions.reduce((acc, action) => {
acc[action.name] = tool({
description: action.description,
parameters: action.schema,
inputSchema: action.schema,
execute: async (args: z.output<typeof action.schema>) => {
const result = await action.invoke(args);
return result;
Expand Down
73 changes: 68 additions & 5 deletions typescript/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading