@glodon-aiot/bot-client-ui 3.26.0-alpha.4 → 3.26.0-alpha.5
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 +2 -2
- package/dist/es/index.mjs +111101 -110186
- package/dist/lib/index.js +950 -592
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -84,7 +84,7 @@ new BotClientUI({
|
|
|
84
84
|
| ------- | ------------- | ---- | ------ | ----------------------------------------------------------------------------------------------------------------- |
|
|
85
85
|
| plugins | PluginsConfig | 否 | - | Agent 应用适用。<br/>插件列表,`pluginCode`与`functionCode`要与平台中注册的插件标识和 API 名称保持一致 |
|
|
86
86
|
| mcp | McpConfig | 否 | - | Agent 应用适用。<br/>这里注册的 MCP 作用到每个会话中。<br/>如果希望特定会话才可注册 MCP,则在会话加载后动态注册。 |
|
|
87
|
-
| builtinPlugins | `{ localFiles?: LocalFilesConfig; localPython?: LocalPythonConfig }` | 否 | - | Agent 应用适用。<br
|
|
87
|
+
| builtinPlugins | `{ localFiles?: LocalFilesConfig; localPython?: LocalPythonConfig }` | 否 | - | Agent 应用适用。<br/>工作区、命令和技能工具注册到平台插件 `builtin_tools`,不用传 `pluginCode`。开启 `localFiles` 后对话左侧出现工作区目录树,详见[本地工作文件夹接入说明](./docs/local-workspace-integration.md) |
|
|
88
88
|
|
|
89
89
|
# BotClientUI 实例 API
|
|
90
90
|
|
|
@@ -391,7 +391,7 @@ new BotClientUI({
|
|
|
391
391
|
|
|
392
392
|
## 本地工作文件夹
|
|
393
393
|
|
|
394
|
-
开启内置插件后,Agent
|
|
394
|
+
开启内置插件后,Agent 可在用户授权的本地文件夹内读取、搜索、修改文件,并在端侧宿主里执行命令和技能脚本。工具注册在平台插件 `builtin_tools` 里,不用传 `pluginCode`。
|
|
395
395
|
|
|
396
396
|
```ts
|
|
397
397
|
new BotClientUI({
|