pub trait WelcomeProvider: Send + Sync {
// Required method
fn welcome<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
session_id: Option<&'life1 str>,
project: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
// Provided method
fn welcome_scoped<'life0, 'life1, 'async_trait>(
&'life0 self,
opts: &'life1 WelcomeOptions,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
}Expand description
Session startup briefing provider.
Required Methods§
Sourcefn welcome<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
session_id: Option<&'life1 str>,
project: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn welcome<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
session_id: Option<&'life1 str>,
project: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Generate a welcome briefing with recent activity, profile, and pending reminders.
Provided Methods§
Sourcefn welcome_scoped<'life0, 'life1, 'async_trait>(
&'life0 self,
opts: &'life1 WelcomeOptions,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn welcome_scoped<'life0, 'life1, 'async_trait>(
&'life0 self,
opts: &'life1 WelcomeOptions,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Generate a scoped welcome briefing using structured options.
Default implementation delegates to welcome() using session_id and project fields.