omni_dev/jev.rs
1//! TypeSafe Jev "System One" API client.
2//!
3//! Jev takes unstructured program state and returns typed, probabilistic
4//! judgments (pick-one, rate-on-a-scale, yes/no-probability) in a single
5//! request. It is deliberately **not** an [`crate::claude::backend::AiBackend`]
6//! — no chat messages, no streaming, no model-registry token limits, no
7//! structured-output negotiation — so it lives in its own module rather than
8//! under [`crate::claude`], mirroring the standalone [`crate::datadog`]
9//! client.
10//!
11//! - [`citations`] — shared citation-finding, used by `route` and `verify`.
12//! - [`client`] — the `reqwest` client and its single `POST /v1/systemone` call.
13//! - [`config`] — credential and base-URL resolution.
14//! - [`exists`] — bounded signature retrieval and one-round existence screening.
15//! - [`error`] — the [`error::JevError`] domain error type.
16//! - [`input`] — shared input-text truncation, used by `route` and `verify`.
17//! - [`markdown_code`] — masks fenced code and inline code spans, so scanners skip them.
18//! - [`protocol`] — the request/response wire types.
19//! - [`route`] — stage routing of issues to model classes (`ai jev route`).
20//! - [`verify`] — decision-comment verification (`ai jev verify-decision`).
21
22pub mod citations;
23pub mod client;
24pub mod config;
25pub mod error;
26pub mod exists;
27pub mod input;
28pub mod markdown_code;
29pub mod protocol;
30pub mod route;
31pub mod verify;