Skip to main content

Module facade

Module facade 

Source
Expand description

The narrow surface the document tool calls: one verb, the workspace’s own read-and-raise.

Mirrors crate::mcp::browser::facade: the Tool impl holds an Arc<dyn DocumentFacade> so its tests drive a MockDocumentFacade instead of a live workspace.

Re-exports§

use std::sync::Arc; 🔒
use async_trait::async_trait; 🔒
use forge_primitives::SessionSlot; 🔒
use forge_primitives::document::DocumentHandOffEnding; 🔒
use crate::workspace::Workspace; 🔒

Structs§

ProdDocumentFacade
Production impl: the workspace’s own read and parked ask.

Traits§

DocumentFacade
The hand-off, as one tool call sees it.