aptu-core 0.8.6

Core library for Aptu - OSS issue triage with AI assistance
Documentation
// SPDX-License-Identifier: Apache-2.0

//! Platform-agnostic facade functions for FFI and CLI integration.
//!
//! This module provides high-level functions that abstract away the complexity
//! of credential resolution, API client creation, and data transformation.
//! Each platform (CLI, iOS, MCP) implements `TokenProvider` and calls these
//! functions with their own credential source.

pub mod ai_client;
pub mod issues;
pub mod models;
pub mod pr_create;
pub mod pr_review;
pub mod repos;
pub mod revert;

pub use issues::{
    analyze_issue, apply_triage_labels, fetch_issue_for_triage, format_issue, post_issue,
    post_triage_comment,
};
pub use models::{list_models, validate_model};
pub use pr_create::create_pr;
pub use pr_review::{analyze_pr, fetch_pr_for_review, label_pr, post_pr_review};
pub use repos::{
    add_custom_repo, discover_repos, fetch_issues, list_curated_repos, list_repos,
    remove_custom_repo,
};
pub use revert::{RevertOutcome, revert_issue, revert_pr};