page-agent-sdk 1.3.8 → 1.3.9

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.
Files changed (2) hide show
  1. package/package.json +4 -2
  2. package/types/index.d.ts +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "page-agent-sdk",
3
- "version": "1.3.8",
3
+ "version": "1.3.9",
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",
@@ -35,7 +35,9 @@
35
35
  "preview": "vite preview",
36
36
  "test": "tsx src/core/__tests__/selftest.ts",
37
37
  "test:e2e": "node tests/e2e-integration.mjs",
38
- "test:exports": "node tests/exports-consistency.mjs"
38
+ "test:exports": "node tests/exports-consistency.mjs",
39
+ "test:types": "tsc --noEmit -p tsconfig.test.json",
40
+ "test:size": "node tests/size-check.mjs"
39
41
  },
40
42
  "keywords": [
41
43
  "ai",
package/types/index.d.ts CHANGED
@@ -122,7 +122,6 @@ export interface AgentInfo {
122
122
  /** 会话级 checkpoint 装载状态(未开启 → undefined) */
123
123
  checkpoints?: { enabled: boolean; auto: boolean; list: CheckpointMeta[] };
124
124
  }
125
- }
126
125
  export interface McpServerConfig { transport: 'http' | 'sse' | 'websocket'; url: string; name?: string; requestInit?: any; }
127
126
 
128
127
  export declare const ChatDialog: DefineComponent<ChatDialogProps>;