page-agent-sdk 3.36.0 → 3.36.1

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 CHANGED
@@ -494,7 +494,7 @@ function switchTo(i: number) {
494
494
  ## Self-tests
495
495
 
496
496
  ```bash
497
- npm test # 2573 assertions (tsx, source-level; no LLM dependency)
497
+ npm test # 2575 assertions (tsx, source-level; no LLM dependency)
498
498
  npm run test:e2e # 856 integration assertions (node, built dist; covers APIs/options/modules/simple&complex scenes: default systemPrompt(capability overview) / dynamic register + inspect sync / inspect(tools/middleware/subagent/verify/mcp/todos/lastCompression/checkpoints reflect config) / custom tools/middleware/skills/memory injection / runtime dynamic reconfiguration(setTools/addTool/removeTool/setLlm/setMemory/setSubagents reflect) / switchSession(on/off) / shareContext on/off sharing/independent / storage backends + object config / presets(3) / checkpoint / exports complete(39+ fns/components) / util fns usable(isQuotaError/estimateTokens/jpEval/searchJson) / source=builtin / mount boundary / hook multi-listener / llm config / hide/show / error scenes)
499
499
  ```
500
500
 
package/README.zh-CN.md CHANGED
@@ -497,7 +497,7 @@ function switchTo(i: number) {
497
497
  ## 自测
498
498
 
499
499
  ```bash
500
- npm test # 2573 项断言(tsx 源码级,不依赖 LLM)
500
+ npm test # 2575 项断言(tsx 源码级,不依赖 LLM)
501
501
  npm run test:e2e # 856 项集成断言(node 跑构建产物 dist;覆盖各 API/配置项/功能模块/简单与复杂场景:默认 systemPrompt(含能力概述) / 动态注册与 inspect 同步 / inspect(tools/middleware/subagent/verify/mcp/todos/lastCompression/checkpoints 反映配置) / 自定义 tools/middleware/skills/memory 注入 / 运行时动态重配置(setTools/addTool/removeTool/setLlm/setMemory/setSubagents 反映) / switchSession(开/未开) / shareContext 开/关共享独立 / storage 后端+对象配置 / presets 三预设 / checkpoint / 导出项完整(39+ 函数/组件) / 工具函数可用(isQuotaError/estimateTokens/jpEval/searchJson) / source=builtin / mount 边界 / hook 多监听器 / llm 配置 / 错误场景)
502
502
  ```
503
503
 
@@ -8801,7 +8801,7 @@ function pd(e) {
8801
8801
  };
8802
8802
  let o = t.op ?? "set", s;
8803
8803
  if (o !== "remove") {
8804
- if (t.value === void 0 || t.value === "") return {
8804
+ if (t.value === void 0 || t.value === "" && o === "move") return {
8805
8805
  ok: !1,
8806
8806
  error: X({
8807
8807
  code: "MISSING_VALUE",
@@ -12776,7 +12776,7 @@ var $f = {
12776
12776
  debugTabSubagent: "子 agent",
12777
12777
  debugTabInfo: "Agent 信息",
12778
12778
  debugClearLogs: "清空日志",
12779
- debugCopyReport: "复制诊断报告(完整日志,交维护者排查)",
12779
+ debugCopyReport: "下载诊断报告 JSON 文件(完整日志,交维护者排查)",
12780
12780
  debugTypeContext: "上下文",
12781
12781
  debugTypeLlmRequest: "LLM请求",
12782
12782
  debugTypeLlmResponse: "LLM响应",
@@ -13015,7 +13015,7 @@ var $f = {
13015
13015
  debugTabSubagent: "Sub-agents",
13016
13016
  debugTabInfo: "Agent info",
13017
13017
  debugClearLogs: "Clear logs",
13018
- debugCopyReport: "Copy diagnostics report (full logs for troubleshooting)",
13018
+ debugCopyReport: "Download diagnostics report as JSON file (full logs for troubleshooting)",
13019
13019
  debugTypeContext: "Context",
13020
13020
  debugTypeLlmRequest: "LLM request",
13021
13021
  debugTypeLlmResponse: "LLM response",