Skip to main content

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//! - [`error`] — the [`error::JevError`] domain error type.
15//! - [`input`] — shared input-text truncation, used by `route` and `verify`.
16//! - [`protocol`] — the request/response wire types.
17//! - [`route`] — stage routing of issues to model classes (`ai jev route`).
18//! - [`verify`] — decision-comment verification (`ai jev verify-decision`).
19
20pub mod citations;
21pub mod client;
22pub mod config;
23pub mod error;
24pub mod input;
25pub mod protocol;
26pub mod route;
27pub mod verify;