CI / CI (push) Successful in 15m14s
All errors were API mismatches — handler code calling wrong method names, wrong argument types, or missing imports/derives. No logic changes. Build now passes with SQLX_OFFLINE=true. Key fixes: - embed_text -> embed_one, Vector -> Vec<f32> conversion - extract_token: extract auth header from HttpRequest first - AuthError variants aligned to actual enum definition - recursive async fns boxed (dfs_paths in inference + path_finder) - missing derives (Default, Serialize), imports (sqlx::Row, Timelike) - borrow-after-move: compute .len() before struct field move - streaming_body -> streaming with Result<Bytes> for SSE - CI: add SQLX_OFFLINE=true for offline builds without DB 25 files changed, 99 insertions(+), 81 deletions(-) Co-authored-by: rock <[email protected]>
15 lines
502 B
Rust
15 lines
502 B
Rust
//! Agent Integration Layer (Phase 6)
|
|
//!
|
|
//! SDK patterns, webhook support, observability, agent lifecycle management.
|
|
|
|
pub mod agent_interface;
|
|
pub mod webhook_handler;
|
|
pub mod observability;
|
|
pub mod client_sdk;
|
|
|
|
pub use agent_interface::{Agent, AgentConfig, AgentCapability};
|
|
pub use webhook_handler::{WebhookEvent, WebhookPayload};
|
|
pub use observability::{AgentMetrics, MetricsCollector};
|
|
pub use client_sdk::{SynthesisClient, ClientRequest, ClientResponse};
|
|
pub use agent_interface::DefaultAgent;
|