Agent 基础设施官方发布自动监测

@composio/slim@0.27.0

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.

原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。

人类阅读

为什么值得关注

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.

Agent 解析

可执行摘要

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.

Agent 实用度
77/100
可信度
96%
机器格式
JSON + Markdown
下一步

开发者应核对什么

  • 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().
分类

标签与路由

toolsintegrationsactions
相关信号

继续阅读