refactor: align project directory architecture

This commit is contained in:
leookun
2026-08-29 20:45:51 +08:00
parent 88f258f184
commit 279e6bb07c
236 changed files with 1982 additions and 57487 deletions
+4 -5
View File
@@ -4,10 +4,6 @@ use std::sync::Arc;
use tokio_util::sync::CancellationToken;
use crate::{
client::{
ClientCommand, ClientEvent, ClientPort, CommitBarrier, CommitCause, MessageInsertion,
StateCommitted,
},
model::{
CanonicalMessage, MessageContent, Origin, PreparedRun, Role, RunAction, ToolRoundAssistant,
ToolRoundId, Usage,
@@ -16,7 +12,10 @@ use crate::{
store::{RunStatus, Store},
};
use super::{consume_model_cycle, ModelCycleFailure, RunFailure, RunOutcome};
use super::{
consume_model_cycle, ClientCommand, ClientEvent, ClientPort, CommitBarrier, CommitCause,
MessageInsertion, ModelCycleFailure, RunFailure, RunOutcome, StateCommitted,
};
const COMPACTION_RESERVE_TOKENS: u64 = 10_000;
const COMPACTION_OUTPUT_TOKENS: u64 = 4_096;