@devries-cameron20 / composio Mirror · read-only / commits / 68c852ce4
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, 02:00 UTC

docs: trim changelog to concise summary

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Dhawal Upadhyay committed Mar 18, 2026 at 15:54 UTC 68c852ce46a544deb9db826abcc8a8dc6e1cf603
1 file changed +5 -65
ts/packages/core/CHANGELOG.md
+5 -65
@@ -4,71 +4,11 @@
4
5 ### Minor Changes
6
7 -- feat(core): custom tools, custom toolkits, and proxy execute for tool router sessions (TypeScript only)
8 -
9 - #### Standalone tool (no auth)
10 -
11 - ```typescript
12 - import { experimental_createTool } from "@composio/core";
13 -
14 - const getUser = experimental_createTool("GET_USER", {
15 - name: "Get user",
16 - description: "Look up user by ID",
17 - inputParams: z.object({ user_id: z.string() }),
18 - execute: async ({ user_id }) => {
19 - return { name: "Alice", email: "alice@acme.com" };
20 - },
21 - });
22 - ```
23 -
24 - #### Extension tool (inherits auth from a Composio toolkit)
25 -
26 - ```typescript
27 - const createDraft = experimental_createTool("CREATE_DRAFT", {
28 - extendsToolkit: "gmail",
29 - name: "Create Gmail draft",
30 - description: "Create a draft via Gmail API",
31 - inputParams: z.object({ to: z.string(), subject: z.string(), body: z.string() }),
32 - execute: async (input, ctx) => {
33 - const res = await ctx.proxyExecute({
34 - toolkit: "gmail",
35 - endpoint: "https://gmail.googleapis.com/gmail/v1/users/me/drafts",
36 - method: "POST",
37 - body: { message: { raw: buildRawEmail(input) } },
38 - });
39 - return { draft_id: res.data.id, status: res.status };
40 - },
41 - });
42 - ```
43 -
44 - #### Custom toolkit (groups tools under a namespace)
45 -
46 - ```typescript
47 - import { experimental_createToolkit } from "@composio/core";
48 -
49 - const userMgmt = experimental_createToolkit("USER_MANAGEMENT", {
50 - name: "User Management",
51 - description: "Manage user roles and status",
52 - tools: [setRoleTool, updateStatusTool],
53 - });
54 - ```
55 -
56 - #### Session creation
57 -
58 - ```typescript
59 - const session = await composio.create("user_123", {
60 - toolkits: ["gmail"],
61 - experimental: {
62 - customTools: [getUser, createDraft],
63 - customToolkits: [userMgmt],
64 - },
65 - });
66 - ```
67 -
68 - #### Other changes
69 - - `session.proxyExecute()` / `ctx.proxyExecute()` for raw HTTP calls through Composio auth — returns `{ status, data, headers }`
70 - - Slug mapping uses backend response instead of client-side `LOCAL_` prefix
71 - - Uses official `@composio/client@0.1.0-alpha.62` types
7 +- Custom tools, custom toolkits, and proxy execute for tool router sessions (TypeScript only)
8 + - `experimental_createTool()` — standalone (no auth), extension (inherits toolkit auth via `extendsToolkit`), or grouped in toolkits
9 + - `experimental_createToolkit()` — group related tools under a namespace
10 + - `session.proxyExecute()` / `ctx.proxyExecute()` — raw HTTP calls through Composio auth, returns `{ status, data, headers }`
11 + - Bump `@composio/client` to `0.1.0-alpha.62`
12
13 ## 0.6.5
14