mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 17:30:23 +08:00
将 gateway 内部的 model-fetch、provider-transport、scheduler-core、 usage-runtime、video-tasks-core 模块提取为独立 crate;重构 gateway 内部模块结构(state/router/cache/data/query 等);移除大量遗留模块 文件;新增 systemd 二进制部署骨架及相关文档;更新前端 usage 相关 API 和组件。
38 lines
1.6 KiB
Rust
38 lines
1.6 KiB
Rust
use crate::control::GatewayControlAuthContext;
|
|
use aether_contracts::{ExecutionPlan, ExecutionTimeouts, ProxySnapshot, RequestBody};
|
|
|
|
pub(crate) use self::service::VideoTaskService;
|
|
pub use self::types::VideoTaskTruthSourceMode;
|
|
pub(crate) use self::types::{
|
|
GeminiVideoTaskSeed, LocalVideoTaskContentAction, LocalVideoTaskFollowUpPlan,
|
|
LocalVideoTaskPersistence, LocalVideoTaskReadRefreshPlan, LocalVideoTaskReadResponse,
|
|
LocalVideoTaskRegistryMutation, LocalVideoTaskSeed, LocalVideoTaskSnapshot,
|
|
LocalVideoTaskStatus, LocalVideoTaskSuccessPlan, LocalVideoTaskTransport, OpenAiVideoTaskSeed,
|
|
VideoTaskSyncReportMode,
|
|
};
|
|
pub(crate) use aether_video_tasks_core::{
|
|
build_internal_finalize_video_plan, build_local_sync_finalize_read_response,
|
|
build_local_sync_finalize_request_path, resolve_local_sync_error_background_report_kind,
|
|
resolve_local_sync_success_background_report_kind,
|
|
};
|
|
|
|
pub(crate) use self::helpers::{
|
|
extract_gemini_short_id_from_cancel_path, extract_gemini_short_id_from_path,
|
|
extract_openai_task_id_from_cancel_path, extract_openai_task_id_from_content_path,
|
|
extract_openai_task_id_from_path, extract_openai_task_id_from_remix_path,
|
|
resolve_video_task_hydration_lookup_key, resolve_video_task_read_lookup_key,
|
|
resolve_video_task_report_lookup, VideoTaskReportLookup,
|
|
};
|
|
|
|
use self::helpers::resolve_local_video_registry_mutation;
|
|
use self::store::{FileVideoTaskStore, InMemoryVideoTaskStore, VideoTaskStore};
|
|
use self::types::LocalVideoTaskProjectionTarget;
|
|
|
|
mod helpers;
|
|
mod service;
|
|
mod store;
|
|
mod types;
|
|
|
|
#[cfg(test)]
|
|
mod tests;
|