mirror of
https://github.com/openai/codex.git
synced 2026-12-04 00:51:02 +00:00
Align message-board tools with the multi-agent namespace (#47028)
## Why Message-board tools hardcoded the `collaboration` namespace and used a different namespace description from the multi-agent tools. This ignored custom namespace configuration and caused conflicts under strict tool collision checking. ## What changed - Use `multi_agent_v2.tool_namespace` and the shared multi-agent namespace description for message-board tools, resolving the namespace at runtime startup. - Support unnamespaced tool specifications when no namespace is supplied. - Remove hardcoded `collaboration` prefixes from message-board notifications. ## Testing Add app-server integration coverage for the default `collaboration` namespace and a configured `agents` namespace with strict collision checking enabled. Verify that both tool families are advertised together and that `get_channels` executes through the installed extension. GitOrigin-RevId: fef7be51ea2a84bbdb6d3491606db442ed4e6ea3
This commit is contained in:
@@ -27,7 +27,7 @@ impl ContextualUserFragment for AgentMessageBoardNotification {
|
||||
}
|
||||
fn body(&self) -> String {
|
||||
format!(
|
||||
"\nNew post {} in discussion {}. Use collaboration.read_post or collaboration.read_thread to read it.\n",
|
||||
"\nNew post {} in discussion {}. Use read_post or read_thread to read it.\n",
|
||||
self.message_id, self.thread_id
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user