427a8c151a
新增终端 AppData 配置向导并强化跨平台密钥与进程树安全 升级自主构建为十六任务产物 DAG 并接入两类真实画布素材 完善完成基线、并发补验、验证证据与受限画布返工合同 强化确定性与真实 Swarm E2E 的 exactly-once 和正式产物校验 修复确定性 Provider 终态修复后的复验交付状态 同步更新客户端实现计划、决策记录和踩坑说明
112 lines
4.7 KiB
Rust
112 lines
4.7 KiB
Rust
use super::*;
|
|
|
|
mod autonomous_completion;
|
|
#[cfg(test)]
|
|
mod autonomous_completion_contract_tests;
|
|
mod context_bundle;
|
|
mod context_window;
|
|
mod finalization;
|
|
mod json_sidecar;
|
|
mod models;
|
|
mod provider_control;
|
|
mod provider_retry;
|
|
mod real_e2e_checkpoint;
|
|
mod response_stream;
|
|
mod run_configuration;
|
|
mod steering;
|
|
mod verification;
|
|
|
|
pub(in crate::agent) use autonomous_completion::*;
|
|
pub(in crate::agent) use context_bundle::*;
|
|
pub(in crate::agent) use finalization::*;
|
|
pub(in crate::agent) use json_sidecar::*;
|
|
pub(in crate::agent) use models::*;
|
|
pub(in crate::agent) use provider_control::*;
|
|
pub(in crate::agent) use provider_retry::*;
|
|
pub(in crate::agent) use real_e2e_checkpoint::*;
|
|
pub(in crate::agent) use response_stream::*;
|
|
pub(in crate::agent) use run_configuration::*;
|
|
pub(in crate::agent) use steering::*;
|
|
pub(in crate::agent) use verification::*;
|
|
|
|
pub(crate) use autonomous_completion::autonomous_game_build_root_run_active_at;
|
|
|
|
pub(crate) use context_bundle::{
|
|
build_game_creator_agent_runtime_context_bundle,
|
|
continuation_from_game_creator_agent_runtime_context_bundle,
|
|
game_creator_agent_runtime_context_bundle_path, game_creator_agent_runtime_context_project_id,
|
|
persist_game_creator_agent_runtime_context, read_game_creator_agent_runtime_context_bundle,
|
|
read_game_creator_agent_runtime_context_bundle_for_idle_compaction,
|
|
write_game_creator_agent_runtime_context_bundle,
|
|
};
|
|
pub(crate) use context_window::{
|
|
sanitize_agent_runtime_context_observation, AgentRuntimeContextCheckpoint,
|
|
};
|
|
#[allow(unused_imports)]
|
|
pub(crate) use finalization::{
|
|
game_creator_agent_runtime_finalization_message_id,
|
|
game_creator_agent_runtime_finalization_path,
|
|
read_game_creator_agent_runtime_finalization_journal,
|
|
remove_game_creator_agent_runtime_finalization_journal,
|
|
};
|
|
pub(crate) use json_sidecar::{
|
|
agent_runtime_json_sidecar_backup_path, read_agent_runtime_json_sidecar_with_max_bytes,
|
|
remove_agent_runtime_json_sidecar_backup, write_agent_runtime_json_sidecar_with_max_bytes,
|
|
};
|
|
pub(crate) use models::{
|
|
AgentBackgroundFinalizationOutcome, AgentBackgroundTaskOutcome, AgentRuntimeContextBundle,
|
|
AgentRuntimeContextWindowTracker, AgentRuntimeContinuationContext,
|
|
AgentRuntimeFinalizationCheckpoint, AgentRuntimeFinalizationJournal, AgentRuntimePlanUpdate,
|
|
AgentRuntimePlanUpdateStep, AgentRuntimeProjectRevision,
|
|
AgentRuntimeProviderActionBatchPreparation, AgentRuntimeProviderRequestSnapshot,
|
|
AgentRuntimeToolAction, AgentRuntimeToolObservation, AgentRuntimeToolPlan,
|
|
AgentRuntimeVerificationGate, ParsedAgentRuntimeToolPlan,
|
|
AGENT_RUNTIME_LOCK_STALE_AFTER_SECONDS,
|
|
};
|
|
pub(crate) use provider_retry::{
|
|
game_creator_agent_runtime_provider_request_id,
|
|
game_creator_agent_runtime_transient_retry_backoff_ms,
|
|
};
|
|
pub(crate) use real_e2e_checkpoint::AgentRuntimeRealE2eAckPublishPhase;
|
|
pub(crate) use response_stream::{
|
|
game_creator_agent_runtime_response_stream_path,
|
|
read_game_creator_agent_runtime_response_stream_at,
|
|
};
|
|
pub(crate) use run_configuration::{
|
|
agent_runtime_run_profile_identity_at, bind_game_creator_agent_runtime_run_profile_at,
|
|
game_creator_agent_runtime_project_revision_path,
|
|
game_creator_agent_runtime_provider_transient_max_retries_at,
|
|
game_creator_agent_runtime_run_profile_binding_path,
|
|
read_game_creator_agent_runtime_run_profile_binding,
|
|
};
|
|
pub(crate) use steering::{
|
|
consume_game_creator_agent_runtime_steers, game_creator_agent_runtime_accepts_steer,
|
|
game_creator_agent_runtime_steer_ledger_path,
|
|
interrupt_game_creator_agent_runtime_provider_request_at,
|
|
render_game_creator_agent_runtime_steers_for_prompt, steer_game_creator_agent_runtime_task_at,
|
|
steer_game_creator_agent_runtime_task_for_profile_at,
|
|
validate_game_creator_agent_runtime_steer_notification_at,
|
|
};
|
|
pub(crate) use verification::{
|
|
game_creator_agent_runtime_verification_gate_path,
|
|
read_game_creator_agent_runtime_project_revision,
|
|
read_game_creator_agent_runtime_verification_gate,
|
|
write_game_creator_agent_runtime_project_revision,
|
|
write_game_creator_agent_runtime_verification_gate,
|
|
};
|
|
|
|
#[cfg(test)]
|
|
pub(crate) use provider_control::{
|
|
await_game_creator_agent_runtime_provider_request,
|
|
capture_game_creator_agent_runtime_provider_request_snapshot,
|
|
};
|
|
#[cfg(test)]
|
|
pub(crate) use provider_retry::append_game_creator_agent_runtime_provider_lifecycle_for_test;
|
|
#[cfg(test)]
|
|
pub(crate) use real_e2e_checkpoint::{
|
|
await_game_creator_agent_runtime_provider_request_with_control_hook_for_test,
|
|
await_game_creator_agent_runtime_provider_request_with_snapshot_for_test,
|
|
await_game_creator_agent_runtime_tool_plan_checkpoint_for_test,
|
|
publish_game_creator_agent_runtime_tool_plan_checkpoint_ack_for_test,
|
|
};
|