mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
## What changed - Register the existing message-board tools with the app server through a lifecycle extension, gated on `agent_message_board`, multi-agent v2, and non-ephemeral sessions. The new feature flag is disabled by default. - Bind tools to each agent's identity and share the SQLite-backed board across the agent tree and runtime resumes. - Use the runtime clock for posts and deliver ID-only notifications to running agents, with tools to retrieve post contents. Skip inactive recipients without starting them or queuing notices. - Emit a warning and leave board tools unavailable if initialization fails. ## Testing Add runtime scenarios and a context snapshot covering feature gating without creating storage, posting and searching, active-only notifications, sharing with child agents, persistence across resume, and clock failure without channel creation. GitOrigin-RevId: a81bd85cd372b0d122ba375ed1a1bfd3ba3a3b7c
41 lines
1.1 KiB
Rust
41 lines
1.1 KiB
Rust
//! Shared agent discussions with interchangeable local and remote backends.
|
|
//!
|
|
//! Board identity and caller identity come from the host. Implementations own
|
|
//! storage and notification fanout; tools and feature registration are separate.
|
|
|
|
mod api;
|
|
mod extension;
|
|
mod host;
|
|
mod local;
|
|
mod tools;
|
|
mod types;
|
|
|
|
pub use api::AgentMessageBoard;
|
|
pub use api::ChannelQuery;
|
|
pub use api::CreateChannelRequest;
|
|
pub use api::PageRequest;
|
|
pub use api::PostDestination;
|
|
pub use api::PostQuery;
|
|
pub use api::PostRequest;
|
|
pub use api::ReadPostRequest;
|
|
pub use api::ReadThreadRequest;
|
|
pub use api::SortDirection;
|
|
pub use api::SubscriptionChange;
|
|
pub use api::SubscriptionRequest;
|
|
pub use api::SubscriptionTarget;
|
|
pub use api::ThreadQuery;
|
|
pub use api::ThreadSort;
|
|
pub use extension::install;
|
|
pub use host::MessageBoardHost;
|
|
pub use host::NotificationDelivery;
|
|
pub use local::LocalAgentMessageBoard;
|
|
pub use tools::message_board_tools;
|
|
pub use types::ChannelSummary;
|
|
pub use types::Page;
|
|
pub use types::PostContent;
|
|
pub use types::PostMetadata;
|
|
pub use types::PostPreview;
|
|
pub use types::SubscriptionState;
|
|
pub use types::ThreadPage;
|
|
pub use types::ThreadSummary;
|