zywlagent 0.1.5 → 0.1.6
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 +3 -3
- package/dist/chunks/{index-Bfu4BZ3N.js → index-BPSBoIMf.js} +1593 -1569
- package/dist/gis-agent.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# GIS Agent
|
|
2
2
|
|
|
3
|
-
独立维护的前端 npm 包:
|
|
3
|
+
独立维护的前端 npm 包:zywlagent。
|
|
4
4
|
|
|
5
5
|
## 本地维护
|
|
6
6
|
|
|
@@ -16,7 +16,7 @@ npm run pack
|
|
|
16
16
|
## 接入方
|
|
17
17
|
|
|
18
18
|
```js
|
|
19
|
-
import { mountCallerAgentChat } from "
|
|
19
|
+
import { mountCallerAgentChat } from "zywlagent";
|
|
20
20
|
const cleanup = mountCallerAgentChat({
|
|
21
21
|
buttonId: "my-agent-button",
|
|
22
22
|
GIS_AGENT_PLATFORM_URL: "http://服务器IP:8135",
|
|
@@ -26,7 +26,7 @@ const cleanup = mountCallerAgentChat({
|
|
|
26
26
|
// 页面卸载时调用 cleanup()
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
新包需与更新后的 Platform 后端一起部署。不同 IP 的 HTTP 直连会自动使用请求头会话,当前标签页刷新后可继续;同源接入仍使用 Cookie。打包和更新 GIS 依赖由接入方执行,详见 docs/接入说明.md。
|
|
30
30
|
|
|
31
31
|
## 目录
|
|
32
32
|
|