type ask to target as Ident (#2621)

This commit is contained in:
damocles 2026-07-22 18:40:26 +02:00 committed by mara
commit 3df565789c
6 changed files with 12 additions and 3 deletions

View file

@ -11,6 +11,7 @@ use hive_sh4re::{
CancelLooseEndKind, ContainerInfo, DeliveredMessage, InboxRow, JournalPriority, LooseEnd,
MatrixIdentity, ReminderStats, ReminderTiming, SchedulePromptPayload, WireSchedule,
};
use hive_types::Ident;
use serde::{Deserialize, Serialize};
/// serde `default` helper for `Response::AgentMeta::running` (absent = true).
@ -73,7 +74,7 @@ pub enum Request {
#[serde(default)]
ttl_seconds: Option<u64>,
#[serde(default)]
to: Option<String>,
to: Option<Ident>,
},
/// Answer a question previously routed to this agent via
/// `HelperEvent::QuestionAsked`. Authorised callers + threading