Skip to content

Commit f10e900

Browse files
authored
docs(openclaw-plugin): drop agent_end from README hook list per #1866 (#1871)
#1866 explicitly removed the agent_end hook from index.ts because OpenClaw 5.2 blocks that typed hook for non-bundled plugins without conversation access; session routing is now recorded through session_start/session_end. README.md and README_CN.md still listed agent_end in the hook-layer summary.
1 parent 7fa499a commit f10e900

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/openclaw-plugin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This document is not an installation guide. It is an implementation-focused desi
1919
In the current implementation, the plugin plays four roles at once:
2020

2121
- `context-engine`: implements `assemble`, `afterTurn`, and `compact`
22-
- hook layer: handles `session_start`, `session_end`, `agent_end`, and `before_reset`
22+
- hook layer: handles `session_start`, `session_end`, and `before_reset`
2323
- tool provider: registers memory/archive tools plus OpenViking resource and skill import tools
2424
- runtime manager: connects to and monitors a remote OpenViking service
2525

examples/openclaw-plugin/README_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
按当前代码职责看,插件同时扮演四个角色:
2020

2121
- `context-engine`:实现 `assemble``afterTurn``compact`
22-
- Hook 层:接管 `session_start``session_end``agent_end``before_reset`
22+
- Hook 层:接管 `session_start``session_end``before_reset`
2323
- Tool 提供者:注册 memory/archive 工具,以及 OpenViking resource 和 skill 导入工具
2424
- 运行时管理器:连接并监控远程 OpenViking 服务
2525

0 commit comments

Comments
 (0)