page-agent-sdk 1.3.4 → 1.3.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 +1 -1
- package/README.zh-CN.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -368,7 +368,7 @@ Framework-agnostic integration: `demo/plain.html` (importmap + esm.sh).
|
|
|
368
368
|
|
|
369
369
|
```bash
|
|
370
370
|
npm test # 364 assertions (tsx, source-level; no LLM dependency)
|
|
371
|
-
npm run test:e2e #
|
|
371
|
+
npm run test:e2e # 86 integration assertions (node, built dist; covers APIs/options/simple&complex scenes: default systemPrompt(capability overview) / dynamic register / inspect(tools/middleware/subagent/verify/mcp reflect config) / custom tools/middleware/skills/memory injection / switchSession(on/off) / shareContext sharing / storage backends / presets / checkpoint / options accepted / error scenes)
|
|
372
372
|
```
|
|
373
373
|
|
|
374
374
|
## Local npm package test
|
package/README.zh-CN.md
CHANGED
|
@@ -313,7 +313,7 @@ createChatSdk({
|
|
|
313
313
|
|
|
314
314
|
```bash
|
|
315
315
|
npm test # 364 项断言(tsx 源码级,不依赖 LLM)
|
|
316
|
-
npm run test:e2e #
|
|
316
|
+
npm run test:e2e # 86 项集成断言(node 跑构建产物 dist;覆盖各 API/配置项/简单与复杂场景:默认 systemPrompt(含能力概述) / 动态注册 / inspect(tools/middleware/subagent/verify/mcp 反映配置) / 自定义 tools/middleware/skills/memory 注入 / switchSession(开/未开) / shareContext 共享 / storage 后端 / presets / checkpoint / 配置项可传 / 错误场景)
|
|
317
317
|
```
|
|
318
318
|
|
|
319
319
|
## 本地 npm 包测试
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "page-agent-sdk",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "框架无关的页面内 Agent JS SDK —— 以对话框形态挂载到任意网页,通过自定义 tool 读写宿主 window 属性(GET 抓文档),具备 planning/skills/虚拟工作区/快照回退/context 管理能力。Vue 打包进库,使用者无需安装 Vue。",
|
|
6
6
|
"main": "./dist/page-agent-sdk.umd.cjs",
|