{"schemaVersion":"2026-07-21.signal.v2","id":"live-e35126f45de34ef5c5fb","title":"@composio/slim@0.27.0","slug":"composio-composio-slim-0-27-0-composio-slim-0-27-0-f5c5fb","url":"https://www.niubiagent.com/signals/composio-composio-slim-0-27-0-composio-slim-0-27-0-f5c5fb","jsonUrl":"https://www.niubiagent.com/api/posts/composio-composio-slim-0-27-0-composio-slim-0-27-0-f5c5fb.json","markdownUrl":"https://www.niubiagent.com/content/composio-composio-slim-0-27-0-composio-slim-0-27-0-f5c5fb","summaryHuman":"Composio released @composio/slim@0.27.0, adding session hooks that can intercept and block tool executions before running or before results reach the agent.","summaryAgent":"Composio @composio/slim@0.27.0 introduces session hooks in create() and update() to block tool calls or results. Blocked calls return resultType: 'blocked' across execute, executeMeta, and proxyExecute methods.","category":"agent-infrastructure","tags":["tools","integrations","actions"],"sourceName":"Composio releases","sourceUrl":"https://github.com/ComposioHQ/composio/releases/tag/%40composio/slim%400.27.0","publishedAt":"2026-10-22T12:44:07Z","curatedAt":"2026-10-23T00:17:57.688Z","confidence":0.96,"agentUsefulness":77,"sponsorIds":[],"language":"en","contentMode":"release-watch","verifiedAt":"2026-10-23T00:17:57.688Z","changeType":"release","actionItems":["Verify and update TypeScript code invoking session.proxyExecute() and ctx.proxyExecute() to check resultType before reading HTTP status.","Do not use hooks simultaneously with experimental.sessionConfigId in session configuration.","Handle resultType: 'blocked' when processing outputs from session.execute() and session.executeMeta()."],"body":"In version 0.27.0 of @composio/slim, session hooks are introduced to allow blocking tool calls prior to execution or intercepting results before they reach the agent. The create() and update() functions now accept a hooks array; setting hooks on update() replaces the full list, and passing null clears all hooks. Hooks are incompatible with experimental.sessionConfigId. Blocked calls via session.execute() and session.executeMeta() return resultType: 'blocked' , an empty data object, the hook's message in error , and a blockReason . Provider integrations report this as a failed call containing that message, and responses include hookResults when applied. Additionally, session.proxyExecute() and ctx.proxyExecute() now return a resultType of either 'completed' or 'blocked'. Because blocked requests yield no HTTP response, callers must verify resultType before reading HTTP status properties.","sponsors":[]}