Commit graph

1424 commits

Author SHA1 Message Date
Kayshen-X 3d3ba232c8 fix(editor): pass page_id on chat-design InsertSubtree (native + web)
Restore page_id: None on the two chat_design_apply InsertSubtree initializers (dropped by a branch reset).
2026-06-02 22:14:00 +08:00
Kayshen-X 96753a7b5d feat(canvas): boolean-ops buttons on the align toolbar
Add Union/Subtract/Intersect/Exclude boolean-operation controls to the align toolbar.
2026-06-02 09:42:08 +08:00
Kayshen-X 5b33f8f5d4 feat(agent): orchestrator scaffold, subagent, and validation fixes
Extend the op-orchestrator phased design runner (single-screen scaffold, sequential sub-agent execution, dashboard columns, validation-fix apply) and adapt the headless smoke runner to the new InsertSubtree page_id field.
2026-06-02 09:42:07 +08:00
Kayshen-X 9edc9f71c3 feat(cli): expand CLI command and flag surface
Add CLI path-args, file-flag, selection and design command coverage matching the expanded MCP tool surface, with tests and usage text.
2026-06-02 09:42:06 +08:00
Kayshen-X cc3e664f65 feat(mcp): layered-design workflow and element-alias tool surface
Expand the Rust MCP server toward pen-mcp parity: layered batch_design helpers with TS-shaped structured args, semantic element-alias builders for high-frequency elements, insert/update node-data parsers, and desktop mcp_serve/runtime wiring (incl. a file-path tool) with tests.
2026-06-02 09:42:05 +08:00
Kayshen-X 0282283cb6 feat(editor): command-layer ops for MCP layered design
Add EditorCommand support powering the MCP layered-design workflow: authored-id subtree insertion for design skeletons, deterministic RefineDesign cleanup, plus batch-page and replace-node apply paths and an InsertSubtree page_id target. Includes command_apply/command_node wiring and tests.
2026-06-02 09:42:04 +08:00
Kayshen-X 82d481547c feat(panels): git-panel commit-detail diff, overflow menu, signature form
Bring the Rust git panel to TS parity across four surfaces:

- Commit rows expand inline into a semantic diff card (ported
  diffDocuments / indexNodesById / engineDiff over serde_json::Value)
  instead of navigating to a separate diff page; the card shows the
  "~modify N nodes" summary plus a per-node patch list. blob_at_commit
  reads the {rev} and {rev}^ blobs to compute base-vs-next.
- Overflow menu (...) with the 5 TS actions — switch tracked file, clear
  commit author, remote settings, SSH keys, close repository — backed by
  GitOverflowView subviews (tracked-file picker + SSH-keys list) and
  remote-settings rows (origin URL + ahead/behind + fetch; no HTTPS token
  field, matching TS).
- Commit signature form: empty commits are refused, and committing with no
  configured author opens an inline name/email form (Enter saves, Escape
  cancels) that writes the repo-local identity before retrying the commit.
- Polish: taller commit-detail card, removed panel shadow, lengthened the
  ready panel, and unified the commit-textarea caret blink to the app's
  500 ms cadence.

New overflow/SSH/author/remote labels resolve via Document::t with an
English fallback for keys not yet in the locale tables.
2026-06-02 09:42:03 +08:00
Kayshen-X ae492e7aa2 fix(editor): add backdrop box behind active agent-chip provider icon
The TS top-bar shows the active provider glyph inside a rounded bg-muted
box; the Rust chip painted the bare icon, so a spinning/active provider
read as a floating glyph with no chip affordance. Paint a theme.muted
rounded backdrop (pad 4, radius 5) behind the brand icon(s) to match.
2026-06-02 09:42:02 +08:00
Kayshen-X a26e1b0f48 fix(mcp): support ts move copy targets 2026-06-02 09:42:01 +08:00
Kayshen-X dd34ca8526 fix(mcp): accept ts delete page targets 2026-06-02 09:42:00 +08:00
Kayshen-X 4f251c138c fix(mcp): accept ts update payloads 2026-06-02 09:41:59 +08:00
Kayshen-X 85a5401574 fix(mcp): accept ts insert data payloads 2026-06-02 09:41:58 +08:00
Kayshen-X 79a2d0830c fix(mcp): support insert parent and page targets 2026-06-02 09:41:57 +08:00
Kayshen-X bbb26b86e8 fix(mcp): support svg import page targets 2026-06-02 09:41:56 +08:00
Kayshen-X aefdf1800f fix(mcp): support svg import parent 2026-06-02 09:41:55 +08:00
Kayshen-X 2a3cb6123e fix(mcp): support refine batch operations in rust 2026-06-02 09:41:54 +08:00
Kayshen-X 776a06bcbc fix(mcp): sync live server bound port 2026-06-02 09:41:53 +08:00
Kayshen-X 61f50999e2 fix(mcp): accept batch design operations in rust 2026-06-02 09:41:52 +08:00
Kayshen-X c966e06233 fix(editor): add exclude boolean toolbar button 2026-06-02 09:41:51 +08:00
Kayshen-X 0362ba3993 fix(cli): add skill install command parity 2026-06-02 09:41:50 +08:00
Kayshen-X 40d3371448 fix(cli): add rust mcp start stop commands 2026-06-02 09:41:49 +08:00
Kayshen-X 7ea28b32c4 fix(cli): add save command parity 2026-06-02 09:41:48 +08:00
Kayshen-X 68394826fe fix(cli): add figma import parity 2026-06-02 09:41:47 +08:00
Kayshen-X 09277fa77c fix(cli): report mcp status without server 2026-06-02 09:41:46 +08:00
Kayshen-X 9d5edd5812 fix(cli): add codegen command parity 2026-06-02 09:41:45 +08:00
Kayshen-X b5fac1e32b fix(mcp): add debug tool parity 2026-06-02 09:41:44 +08:00
Kayshen-X 9cd1aa4558 fix(mcp): add codegen tool parity 2026-06-02 09:41:43 +08:00
Kayshen-X eb083784c9 fix(mcp): add style operation parity 2026-06-02 09:41:42 +08:00
Kayshen-X f1b7e0989c fix(mcp): bootstrap desktop live server 2026-06-02 09:41:41 +08:00
Kayshen-X ce813bcb3e fix(mcp): add open document parity 2026-06-02 09:41:40 +08:00
Kayshen-X cb1cf55ae9 fix(mcp): add batch get parity 2026-06-02 09:41:39 +08:00
Kayshen-X 69037b9ea2 feat(editor): add boolean exclude operation 2026-06-02 09:41:38 +08:00
Kayshen-X 0dbd414837 fix(mcp): add style guide parity 2026-06-02 09:41:37 +08:00
Kayshen-X 2469f424f0 fix(mcp): add design prompt parity 2026-06-02 09:41:36 +08:00
Kayshen-X 8f9b220a27 fix(mcp): add design-md parity 2026-06-02 09:41:35 +08:00
Kayshen-X 1055c8c1b3 fix(mcp): add theme preset parity 2026-06-02 09:41:34 +08:00
Kayshen-X b393daeafa fix(mcp): add read-nodes parity 2026-06-02 09:41:33 +08:00
Kayshen-X 67ea8c3e25 fix(mcp): add bulk variable parity 2026-06-02 09:41:32 +08:00
Kayshen-X 2b89331984 fix(mcp): start web mcp server from settings 2026-06-02 09:41:31 +08:00
Kayshen-X 649ce98ce0 fix(mcp): add find-space parity 2026-06-02 09:35:37 +08:00
Kayshen-X 1ee91daf0f fix(editor): match ts boolean toolbar actions 2026-06-02 09:35:36 +08:00
Kayshen-X fa2f200d9a feat(panels): taller commit-detail card with initial-commit diff line
The expanded 里程碑详情 card was title+buttons only (60px) and showed no
diff context. Match TS image: grow it to 84px and add the diff status line
between title and buttons. The root commit shows '初始提交 — 没有父提交可对比'
(git.history.diff.initialCommit); later commits leave it blank until the
semantic node-diff summary lands.

- op-git: Commit.is_initial (parent_count == 0)
- op-editor-core: GitCommitSummary.is_initial
- op-host-desktop: plumb is_initial into the snapshot
- op-editor-ui: CARD_H 60→84, button row drops to +52, conditional diff line
2026-06-02 09:35:35 +08:00
Fini f58a8e55c1 fix(ai): simplify image search queries 2026-06-01 22:08:41 +08:00
Fini b846a2929e fix(ai): apply rust chat design blocks 2026-06-01 22:07:17 +08:00
Fini a0787a579e fix(ai): maximize rust web chat panel 2026-06-01 07:12:12 +08:00
Fini 26e812dba1 fix(settings): track image generation test status 2026-06-01 06:59:07 +08:00
Fini 0c61ba5b8e fix(settings): track image search test status 2026-06-01 06:27:36 +08:00
Fini 3d1c0b6ae1 fix(settings): open image provider menu 2026-06-01 06:10:37 +08:00
Fini 0b72d14b8a fix(settings): simplify system tab layout 2026-06-01 05:51:10 +08:00
Fini 38588b767f fix(settings): align system tab fallback label 2026-06-01 05:40:24 +08:00