zywlagent 0.1.25 → 0.1.26
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 -0
- package/dist/chunks/{index-DHlAzPZ3.js → index-CQw2lM_S.js} +509 -508
- package/dist/gis-agent.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,6 +29,8 @@ const cleanup = mountCallerAgentChat({
|
|
|
29
29
|
|
|
30
30
|
传入稳定的 `accountId` 后,同一账号在不同机器上可读取同一份历史;未传时沿用匿名会话。新包需与更新后的 Platform 后端一起部署。打包和更新 GIS 依赖由接入方执行,详见 docs/接入说明.md。
|
|
31
31
|
|
|
32
|
+
需要按页面限制能力时,在 `mountCallerAgentChat` 参数中传入 `pageId: "flight-overview"`;单页应用可传 `pageId: () => currentPageId`,每次消息、历史快照和确认请求都会读取当前值。页面 ID 须与 Platform 的 `agent/config/page-capabilities.yaml` 对应;不传时沿用全部已注册能力,未配置的 ID 只支持普通对话。
|
|
33
|
+
|
|
32
34
|
## 目录
|
|
33
35
|
|
|
34
36
|
- src/AgentChat:Platform 聊天 UI、请求客户端、按钮桥接。
|