mirror of
https://github.com/openai/codex.git
synced 2026-05-02 20:32:04 +03:00
Add compaction started/ended events
This commit is contained in:
@@ -431,7 +431,9 @@ Today both notifications carry an empty `items` array even when item events were
|
||||
- `imageView` — `{id, path}` emitted when the agent invokes the image viewer tool.
|
||||
- `enteredReviewMode` — `{id, review}` sent when the reviewer starts; `review` is a short user-facing label such as `"current changes"` or the requested target description.
|
||||
- `exitedReviewMode` — `{id, review}` emitted when the reviewer finishes; `review` is the full plain-text review (usually, overall notes plus bullet point findings).
|
||||
- `compacted` - `{threadId, turnId}` when codex compacts the conversation history. This can happen automatically.
|
||||
- `compactionStarted` - `{threadId, turnId}` when codex begins compacting conversation history.
|
||||
- `compactionEnded` - `{threadId, turnId}` when compaction completes.
|
||||
- `thread/compacted` is deprecated and should be treated as `compactionEnded`.
|
||||
|
||||
All items emit two shared lifecycle events:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user