refactor(host): move pre_validator to op-web-daemon (Phase 2 leaf)

Pre-validation adapter (PlannedFix -> EditorCommand via op-design-lint) for the
design pipeline. Promoted to pub; 2 consumers repointed. Completes Task 2.1
(all 7 host-free leaves moved). No dep/lock change.
This commit is contained in:
Kayshen-X 2026-06-19 19:28:55 +08:00
parent 586a37b73c
commit e9378673ed
5 changed files with 3 additions and 3 deletions

View file

@ -58,7 +58,7 @@ use op_orchestrator::{
};
use crate::chat_runtime::shared_runtime;
use crate::pre_validator::LintPreValidator;
use op_web_daemon::pre_validator::LintPreValidator;
/// Spawn a worker that runs `Orchestrator::run` against a `RemoteDocSink`.
pub fn start<L: LlmClient + Send + 'static>(

View file

@ -54,7 +54,6 @@ mod menu_action;
mod model_discovery;
mod persistence;
mod persistence_image;
mod pre_validator;
mod provider_probe;
mod provider_probe_host;
mod provider_probe_models;

View file

@ -22,7 +22,7 @@ use serde_json::Value;
use crate::ai_proxy::AiStreamRequest;
use op_web_daemon::chat_provider_llm::ChatProviderLlmClient;
use crate::pre_validator::LintPreValidator;
use op_web_daemon::pre_validator::LintPreValidator;
use crate::web_canvas_server::{SseHub, WebCanvasState};
const STANDARD_MODIFY_STEP: &str =

View file

@ -19,4 +19,5 @@ pub mod chat_provider_llm;
pub mod chat_spawn;
pub mod chat_subprocess_quirks;
pub mod chat_system_prompt;
pub mod pre_validator;
pub mod web_static;