refactor(mcp): use jian-scene, drop op-editor-ui dep

read_tools imports NodeKind/SceneNode from jian-scene; scene values still
come from op-pen-loader's builder. 314 tests green; no op_editor_ui ref left.
This commit is contained in:
Kayshen-X 2026-06-19 23:46:03 +08:00
parent 9add35583c
commit bfef05ca13
2 changed files with 2 additions and 2 deletions

View file

@ -16,10 +16,10 @@ debug-tools = ["dep:op-design-lint"]
[dependencies]
jian-ops-schema = { path = "../../vendor/jian/crates/jian-ops-schema" }
jian-scene = { path = "../../vendor/jian/crates/jian-scene" }
op-ai-skills = { path = "../op-ai-skills" }
op-design-lint = { path = "../op-design-lint", optional = true }
op-editor-core = { path = "../op-editor-core" }
op-editor-ui = { path = "../op-editor-ui" }
op-pen-loader = { path = "../op-pen-loader" }
regex = "1"
serde_json = { workspace = true }

View file

@ -11,7 +11,7 @@ use op_editor_core::geometry::aggregate_bounds;
use op_editor_core::pen_node_ext::PenNodeExt;
use op_editor_core::walkers::find_node;
use op_editor_core::{EditorState, NodeId};
use op_editor_ui::layout_scene::{NodeKind, SceneNode};
use jian_scene::layout_scene::{NodeKind, SceneNode};
use serde_json::{json, Map, Value};
use super::tools::kind_label;