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

The LlmClient adapter bridging op-orchestrator's LLM trait to op-ai chat
providers. Promoted to pub; 3 consumers (web_chat_standard, chat_intent,
chat_session_launch) repointed. No dep/lock change.
This commit is contained in:
Kayshen-X 2026-06-19 19:25:52 +08:00
parent 429246718a
commit fa3427631f
6 changed files with 4 additions and 4 deletions

View file

@ -50,7 +50,7 @@ use op_editor_core::EditorState;
use op_orchestrator::{AppendContext, DesignRequest};
use op_web_daemon::chat_canvas_tools::UiChatToolExecutor;
use crate::chat_provider_llm::ChatProviderLlmClient;
use op_web_daemon::chat_provider_llm::ChatProviderLlmClient;
use crate::design_session::{run_design_worker, DesignCmdReq, DesignDelta};
/// Internal host-op name the modify worker sends over the chat tool

View file

@ -19,7 +19,7 @@ use op_web_daemon::chat_canvas_tools::{chat_tool_channel, chat_tool_defs, ChatTo
use crate::chat_claude::ClaudeCodeProvider;
use crate::chat_copilot::CopilotProvider;
use crate::chat_http_server::OpenCodeProvider;
use crate::chat_provider_llm::ChatProviderLlmClient;
use op_web_daemon::chat_provider_llm::ChatProviderLlmClient;
use crate::chat_subprocess::SubprocessProvider;
use crate::chat_system_prompt::{
build_agent_system_prompt, build_chat_system_prompt, chat_history_from_transcript,

View file

@ -15,7 +15,6 @@ mod chat_claude;
mod chat_copilot;
mod chat_http_server;
mod chat_intent;
mod chat_provider_llm;
mod chat_runtime;
mod chat_session;
mod chat_subprocess;

View file

@ -21,7 +21,7 @@ use op_orchestrator::{
use serde_json::Value;
use crate::ai_proxy::AiStreamRequest;
use crate::chat_provider_llm::ChatProviderLlmClient;
use op_web_daemon::chat_provider_llm::ChatProviderLlmClient;
use crate::pre_validator::LintPreValidator;
use crate::web_canvas_server::{SseHub, WebCanvasState};

View file

@ -15,6 +15,7 @@
// Phase 2 — host-free leaf modules.
pub mod chat_canvas_tools;
pub mod chat_provider_llm;
pub mod chat_spawn;
pub mod chat_subprocess_quirks;
pub mod web_static;