agentpage 0.0.26 → 0.0.27
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 +6 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1762,7 +1762,7 @@ agent.registerTool({
|
|
|
1762
1762
|
- 工具部分由各工具 `t.description` 动态注入,prompt 不重复工具能力描述
|
|
1763
1763
|
2. **Round Message(动态状态层)**
|
|
1764
1764
|
- 由 `buildCompactMessages()` 生成
|
|
1765
|
-
- 包含当前 remaining、done steps、上轮计划、上轮输出归一化、最新快照
|
|
1765
|
+
- 包含当前 remaining、Master goal 锚点(防漂移)、done steps、上轮计划、上轮输出归一化、最新快照
|
|
1766
1766
|
3. **Recovery Context(修复层)**
|
|
1767
1767
|
- Not-found retry context
|
|
1768
1768
|
- Protocol violation hint
|
|
@@ -1781,9 +1781,12 @@ agent.registerTool({
|
|
|
1781
1781
|
#### 7.3 Round 0 与 Round 1+ 差异
|
|
1782
1782
|
|
|
1783
1783
|
- Round 0:原始任务 + 首轮快照
|
|
1784
|
-
- Round 1
|
|
1784
|
+
- Round 1+:以 remaining 驱动;当 remaining 与原始任务不同时,注入 `Master goal (reference only)` 锚点
|
|
1785
1785
|
|
|
1786
|
-
|
|
1786
|
+
Master goal 锚点的设计目的:
|
|
1787
|
+
- 防止 remaining 因模型错误缩减而偏离原始目标(任务漂移)
|
|
1788
|
+
- 标注 `reference only — do NOT restart from scratch`,避免模型回头重做
|
|
1789
|
+
- 让模型能随时交叉校验当前行动是否符合原始意图
|
|
1787
1790
|
|
|
1788
1791
|
#### 7.4 显式 UI 意图判定
|
|
1789
1792
|
|