Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
Bump TS sdk version for release (#2207)
Musthaq Ahamadb5cc23fab076
diff --git a/.changeset/cold-carrots-clean.md b/.changeset/cold-carrots-clean.mdnew file mode 100644index 000000000..80f198034--- /dev/null+++ b/.changeset/cold-carrots-clean.md@@ -0,0 +1,18 @@+---+'@composio/core': patch+'@composio/json-schema-to-zod': patch+'@composio/anthropic': patch+'@composio/cloudflare': patch+'@composio/google': patch+'@composio/langchain': patch+'@composio/llamaindex': patch+'@composio/mastra': patch+'@composio/openai': patch+'@composio/openai-agents': patch+'@composio/vercel': patch+---++- Fix dangerously skip version check in non agentic providers+- Throw error instead of process.exit when api key doesn't exist+- bump zod-to-json-schema to 3.25.0, which supports "zod/3"+diff --git a/ts/examples/vercel/src/index.ts b/ts/examples/vercel/src/index.tsindex f5841b7aa..8e6801ec9 100644--- a/ts/examples/vercel/src/index.ts+++ b/ts/examples/vercel/src/index.ts@@ -19,13 +19,13 @@ const composio = new Composio({* Alternatively, you can use the `composio.getToolBySlug` method*/async function run() {- const tools = await composio.tools.get('test-user-id', 'HUBSPOT_CREATE_LINE_ITEMS', {+ const tools = await composio.tools.get('test-user-id', 'HACKERNEWS_GET_USER', {beforeExecute: ({ params, toolSlug }) => {console.log(`🔄 Executing ${toolSlug} with params:`, { params });return params;},- afterExecute: ({ result }) => {- console.log(`✅ Executed ${tools.slug} with result:`);+ afterExecute: ({ result, toolSlug }) => {+ console.log(`✅ Executed ${toolSlug} with result:`, { result });return result;},});@@ -33,7 +33,7 @@ async function run() {const messages: ModelMessage[] = [{role: MessageRoles.USER,- content: 'What tools do you have access to?',+ content: 'Who is the user "pg" on hackernews?',},];