@devries-cameron20 / composio Mirror · read-only / commits / b5cc23fab
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 22, 18:15 UTC

Bump TS sdk version for release (#2207)

Musthaq Ahamad committed Nov 25, 2025 at 17:24 UTC b5cc23fab07694ee6129f259be68ebcce05da91e
2 files changed +22 -4
.changeset/cold-carrots-clean.md new
+18
@@ -0,0 +1,18 @@
1 +---
2 +'@composio/core': patch
3 +'@composio/json-schema-to-zod': patch
4 +'@composio/anthropic': patch
5 +'@composio/cloudflare': patch
6 +'@composio/google': patch
7 +'@composio/langchain': patch
8 +'@composio/llamaindex': patch
9 +'@composio/mastra': patch
10 +'@composio/openai': patch
11 +'@composio/openai-agents': patch
12 +'@composio/vercel': patch
13 +---
14 +
15 +- Fix dangerously skip version check in non agentic providers
16 +- Throw error instead of process.exit when api key doesn't exist
17 +- bump zod-to-json-schema to 3.25.0, which supports "zod/3"
18 +
ts/examples/vercel/src/index.ts
+4 -4
@@ -19,13 +19,13 @@ const composio = new Composio({
19 * Alternatively, you can use the `composio.getToolBySlug` method
20 */
21 async function run() {
22 - const tools = await composio.tools.get('test-user-id', 'HUBSPOT_CREATE_LINE_ITEMS', {
22 + const tools = await composio.tools.get('test-user-id', 'HACKERNEWS_GET_USER', {
23 beforeExecute: ({ params, toolSlug }) => {
24 console.log(`🔄 Executing ${toolSlug} with params:`, { params });
25 return params;
26 },
27 - afterExecute: ({ result }) => {
28 - console.log(`✅ Executed ${tools.slug} with result:`);
27 + afterExecute: ({ result, toolSlug }) => {
28 + console.log(`✅ Executed ${toolSlug} with result:`, { result });
29 return result;
30 },
31 });
@@ -33,7 +33,7 @@ async function run() {
33 const messages: ModelMessage[] = [
34 {
35 role: MessageRoles.USER,
36 - content: 'What tools do you have access to?',
36 + content: 'Who is the user "pg" on hackernews?',
37 },
38 ];
39