- Type/Function/Variantを Segment* 系へ統一 - SessionId/SessionStart/SessionOrigin/SessionStartState/SessionState/SessionLogSink/SessionLockInfo - new_session_id / session_id / create_session* / list_sessions / lookup_session / update_session / find_by_session - protocol Event::SessionRotated → SegmentRotated、CompactDone.new_session_id → new_segment_id - Module: session_log → segment_log / session → segment (file mv 含む) pod 側の session_log_sink → segment_log_sink も同様 - crate 名 (session-store)、CLI flag (--session)、ResumeWithSession (CLI tied) は据え置き - session-tests/session_metrics_test 等の Store impl も追従
36 lines
1.1 KiB
Rust
36 lines
1.1 KiB
Rust
pub mod compact;
|
|
pub mod controller;
|
|
pub mod fs_view;
|
|
pub mod hook;
|
|
pub mod ipc;
|
|
pub mod prompt;
|
|
pub mod runtime;
|
|
pub mod segment_log_sink;
|
|
pub mod shared_state;
|
|
pub mod spawn;
|
|
pub mod workflow;
|
|
|
|
mod factory;
|
|
mod interrupt_prep;
|
|
mod permission;
|
|
mod pod;
|
|
|
|
pub use compact::token_counter::{EstimateSource, SplitPoint, TokenEstimate};
|
|
pub use controller::{PodController, PodHandle, ShutdownReceiver};
|
|
pub use factory::{FactoryError, PodFactory};
|
|
pub use hook::{Hook, HookEventKind, HookRegistryBuilder};
|
|
pub use ipc::alerter::Alerter;
|
|
pub use ipc::server::SocketServer;
|
|
pub use manifest::{
|
|
AuthRef, ModelManifest, PodManifest, PodManifestConfig, PodMetaConfig, SchemeKind, Scope,
|
|
};
|
|
pub use pod::{Pod, PodError, PodRunResult, apply_worker_manifest};
|
|
pub use prompt::catalog::{CatalogError, PodPrompt, PromptCatalog};
|
|
pub use prompt::loader::PromptLoader;
|
|
pub use prompt::system::{SystemPromptContext, SystemPromptError, SystemPromptTemplate};
|
|
pub use protocol::{ErrorCode, Event, Method, PodStatus, TurnResult};
|
|
pub use provider::{ProviderError, build_client};
|
|
pub use runtime::dir::RuntimeDir;
|
|
pub use segment_log_sink::SegmentLogSink;
|
|
pub use shared_state::PodSharedState;
|