Skip to main content

relay_knowledge/application/
mod.rs

1//! Application services that orchestrate domain behavior behind stable API types.
2
3// `ApiError` is a stable 1.x public DTO whose optional metadata keeps the JSON and Rust API
4// layouts compatible. Boxing that field would be a breaking Rust API change, so application
5// boundary methods intentionally return the existing error shape until the 2.0 contract cleanup.
6#![allow(clippy::result_large_err)]
7
8mod code_repository;
9mod knowledge;
10mod model_provider;
11mod runtime;
12mod service;
13mod update;
14mod worker;
15
16pub use knowledge::DEFAULT_FILE_QUERY_LIMIT;
17pub use knowledge::map::KnowledgeMapSourceAddRequest;
18pub(crate) use knowledge::map::{
19    KnowledgeMapService, KnowledgeMapServiceError, MAX_HISTORY_PAGE_SIZE,
20};
21pub use runtime::{
22    AgentRuntimeConfig, FileIndexRootConfig, FileIndexRuntimeConfig, ProcessRuntimeConfig,
23    RetrievalRuntimeConfigError, RuntimeConfiguration, RuntimeConfigurationError,
24    WorkerRuntimeConfig,
25};
26pub use service::{AgentDurableAuditInput, RelayKnowledgeService};
27pub use update::{
28    UpdateRuntimeConfig, UpdateRuntimeConfigError, UpdateSource, VersionCheckResponse,
29    update_notice,
30};