mirror of
https://github.com/openai/codex.git
synced 2026-10-27 18:48:37 +00:00
## What changed - Add a shared, read-only `ConversationHistorySnapshot` capability to the extension API. - Include the snapshot in `ToolStartInput`, preserving conversation order while excluding contextual user messages. - Avoid acquiring a history snapshot when no tool lifecycle contributors are registered. ## Testing - Verify snapshots share existing response items, remain stable as history changes, and filter contextual user messages. - Verify tool-start callbacks receive the history available for successive tool calls. GitOrigin-RevId: 822cae33781dd876ea628f104be08d8a449a4900
17 lines
498 B
Rust
17 lines
498 B
Rust
mod agent;
|
|
mod conversation_history;
|
|
mod events;
|
|
mod metrics;
|
|
mod response_items;
|
|
|
|
pub use agent::AgentSpawnFuture;
|
|
pub use agent::AgentSpawner;
|
|
pub use conversation_history::ConversationHistorySnapshot;
|
|
pub use events::ExtensionEventSink;
|
|
pub use events::ExtensionWarning;
|
|
pub use events::NoopExtensionEventSink;
|
|
pub use metrics::ExtensionMetrics;
|
|
pub use response_items::NoopResponseItemInjector;
|
|
pub use response_items::ResponseItemInjectionFuture;
|
|
pub use response_items::ResponseItemInjector;
|