@blade-hq/agent-client 2612.0.0-beta.10 → 2612.0.0-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -161,8 +161,16 @@ const first = index.items[0] // SessionTurnIndexItem
|
|
|
161
161
|
```
|
|
162
162
|
|
|
163
163
|
创建会话时可以绑定 Streamable HTTP MCP 来源;BA 会在创建成功前读取并保存工具列表,
|
|
164
|
-
来源此时必须可访问且接受创建请求中的 Bearer
|
|
165
|
-
|
|
164
|
+
来源此时必须可访问且接受创建请求中的 Bearer 凭据。之后沿用已发现的工具目录,
|
|
165
|
+
刷新来源时更新目录。默认 `exposure: "lazy"` 通过 `plugin_list`、`plugin_inspect`、
|
|
166
|
+
`plugin_run` 发现和调用工具;`exposure: "eager"` 会将 `include_tools` 允许的工具和完整
|
|
167
|
+
参数 schema 直接加入执行模式的模型工具列表,无需先 inspect。`eager_tools` 可在 lazy
|
|
168
|
+
来源中选出直接暴露的工具,也可指定 eager 来源中的优先工具。主运行和子智能体使用相同
|
|
169
|
+
策略,计划模式不加载。直接工具的名称为 `mcp_<来源>__<工具>_<hash>`,调用仍经 Go MCP
|
|
170
|
+
dispatcher。会话 MCP 的可用工具名称按来源注入 `plugin_catalog`,lazy 工具完整 schema
|
|
171
|
+
仍由 `plugin_inspect` 按需读取。每个运行最多直接加载 32 个工具、64 KiB 完整工具定义;
|
|
172
|
+
超预算的工具仍可通过
|
|
173
|
+
`plugin_inspect/plugin_run` 使用。
|
|
166
174
|
Bearer 凭据只在创建或轮换时提交,查询不会返回它:
|
|
167
175
|
|
|
168
176
|
```ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/version.ts
|
|
2
2
|
var SDK_NAME = "agent-client";
|
|
3
|
-
var SDK_VERSION = true ? "2612.0.0-beta.
|
|
3
|
+
var SDK_VERSION = true ? "2612.0.0-beta.11" : "1.1.1";
|
|
4
4
|
|
|
5
5
|
// src/auth-login.ts
|
|
6
6
|
function isAuthCallbackMessage(value) {
|
|
@@ -8267,4 +8267,4 @@ export {
|
|
|
8267
8267
|
createSocket,
|
|
8268
8268
|
BladeClient
|
|
8269
8269
|
};
|
|
8270
|
-
//# sourceMappingURL=chunk-
|
|
8270
|
+
//# sourceMappingURL=chunk-SCG5SRXE.js.map
|
package/dist/index.js
CHANGED
package/dist/internal.js
CHANGED
package/package.json
CHANGED
|
File without changes
|