docs: align Bun, routing, browser validation and MoviePilot site provenance

This commit is contained in:
root committed 2026-11-06 00:17:37 +08:00
1 parent e72983ecee
commit 55841402a6
23 files changed
+269 -162

No files matched your search

+3 -1
View File
@@ -84,7 +84,7 @@ faux.setResponses([
| 重试 | `retry: { enabled, maxRetries, baseDelayMs }`、`streamOptions.timeoutMs` |
| 子代理开关 | **SDK 不提供**。由我们实现一个 `agent.delegate` 能力:开新 lane 或新会话,继承父任务的授权上限、预算和取消状态;默认关闭 |
## 已知限制
## 初次接入时的限制(历史)
- 0.x 版本,存储格式 4 仍是 WIP,可能原地改变。锁精确版本,升级后跑 agent 与 server 的 Pi 相关测试(`deno task test:all`)。
- 没有子代理,没有 PG 会话存储,`watchSession` 未实现。
@@ -94,6 +94,8 @@ faux.setResponses([
## 2026-10-08 迁到 pi-durable
2026-11-05 更新:当前 `pi-durable`、`pi-ai`、`chord` 均精确锁定 1.3.0。适配层按新版 `ToolExecutionResult` 返回 `output` 内容块,正常结果与错误结果使用同一字段;对外 `AgentRuntimePort` 与会话目录约定保留。以下记录 1.1.0 迁入时的设计。
pi-agent-core 1.0 删掉了 harness(AgentHarness、会话存储、压缩、skills、系统提示等),只剩 `Agent` 与循环;harness 搬到 `@earendil-works/pi-durable`(实验性,版本之间 API 会变)。我们改为:
- 依赖锁精确版本:`@earendil-works/[email protected]`、`@earendil-works/[email protected]`、`@earendil-works/[email protected]`(pi-durable 的 Context / 文档状态),**移除** pi-agent-core。Pi 的类型仍只出现在 `packages/agent/src/pi/*`(另有 `prompt/skills.ts` 的格式约定),对外只有 `AgentRuntimePort`,端口与 `AgentRunEvent` 合同不变(`tool_call_end` 只新增可选 `durationMs`)。