Expand description
Advisor core types — ported from omp advise-tool.ts.
Pure data: severity, note, delivery channel. No host/runtime dependency.
§Attribution
Translated to Rust from omp (oh-my-pi), which is MIT licensed (Copyright (c) 2025 Mario Zechner; Copyright (c) 2025-2026 Can Bölük). oxicode’s translation remains under oxicode’s own MIT license.
Structs§
- Advisor
Note - One queued advice note. omp
AdvisorNote. - Delivery
Opts - Inputs to
crate::advisor::channels::resolve_delivery_channel. ompresolveAdvisorDeliveryChannelopts.
Enums§
- Advisor
Delivery Channel - How an advisor note reaches the primary agent. omp
AdvisorDeliveryChannel. - Advisor
Severity - Advisor note severity. omp
AdvisorSeverity. Omitting it (in the tool schema) is treated as a plainnit.
Constants§
- ADVISOR_
GUIDANCE - omp
ADVISOR_GUIDANCE— behavioral framing carried as a tag attribute on every rendered<advisory>block. The primary agent’s system prompt never mentions advisories, so this is its only cue for how to treat them.