docs(openclaw-plugin): drop agent_end from README hook list per #1866#1871
Merged
qin-ctx merged 1 commit intovolcengine:mainfrom May 7, 2026
Merged
Conversation
…ngine#1866 volcengine#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.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
qin-ctx
approved these changes
May 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
#1866(Mijamind719→ qin-ctx, merged 2026-05-06T08:50Z) explicitly removed theagent_endhook fromexamples/openclaw-plugin/index.tsbecause OpenClaw 5.2 blocks that typed hook for non-bundled plugins without conversation access (per the PR description: "theagent_endhook is removed because 5.2 blocks that typed hook for non-bundled plugins without conversation access; session routing is already recorded throughsession_start/session_end.").After the merge,
examples/openclaw-plugin/index.tsonly registerssession_start,session_end, andbefore_reset(verified withgrep -n "api.on(" examples/openclaw-plugin/index.ts):But the hook-layer bullet in
README.md(line 22) andREADME_CN.md(line 22) still listagent_end. Drop it so the README matches the runtime registration.Scope
examples/openclaw-plugin/README.md— removed,+`agent_end`from the hook-layer bulletexamples/openclaw-plugin/README_CN.md— removed`agent_end`、from the same bullet (Chinese)Pure docs, no code or behavior change. Refs
#1866.