Skip to main content

Module types

Module types 

Source
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§

AdvisorNote
One queued advice note. omp AdvisorNote.
DeliveryOpts
Inputs to crate::advisor::channels::resolve_delivery_channel. omp resolveAdvisorDeliveryChannel opts.

Enums§

AdvisorDeliveryChannel
How an advisor note reaches the primary agent. omp AdvisorDeliveryChannel.
AdvisorSeverity
Advisor note severity. omp AdvisorSeverity. Omitting it (in the tool schema) is treated as a plain nit.

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.