mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 18:50:42 +00:00
feat(codex): add llm lifecycle hooks (#70312)
* feat(codex): add llm lifecycle hooks * fix(codex): close llm hook lifecycle gaps * fix(codex): dedupe llm hook context * fix(codex): preserve abort and error hook state
This commit is contained in:
@@ -20,6 +20,10 @@ approvals, media delivery, and the visible transcript mirror.
|
||||
Native Codex turns also respect the shared `before_prompt_build`,
|
||||
`before_compaction`, and `after_compaction` plugin hooks, so prompt shims and
|
||||
compaction-aware automation can stay aligned with the PI harness.
|
||||
Native Codex turns also respect the shared `before_prompt_build`,
|
||||
`before_compaction`, `after_compaction`, `llm_input`, `llm_output`, and
|
||||
`agent_end` plugin hooks, so prompt shims, compaction-aware automation, and
|
||||
lifecycle observers can stay aligned with the PI harness.
|
||||
|
||||
The harness is off by default. It is selected only when the `codex` plugin is
|
||||
enabled and the resolved model is a `codex/*` model, or when you explicitly
|
||||
|
||||
Reference in New Issue
Block a user