cad-editor/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 931eb908a9 feat(plugin): InteractiveCommand hook for click-to-place (API v2)
Plugins could dispatch commands but not register interactive (click-to-
place) tools — the gap mf4633 flagged on #100 for Storm Sewer's SS_INLET
/ SS_PIPE. Add an InteractiveCommand trait + CommandStep to ocs_plugin_api
and HostApi::start_interactive; a host adapter bridges it to the internal
CadCommand, so a plugin tool drives the host's point-collection flow.

Hybrid by construction: the same command works by clicking in the viewport
AND by feeding coordinates over --serve (run "CMD x,y x,y"). Adding a
HostApi method changes the contract vtable, so API_VERSION bumps to 2 —
v1 plugin binaries are now refused at load.

Part of the #100 extensibility epic.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 21:43:35 +03:00
..
automation feat(automation): undo/redo ops (move/copy already work via select+run) 2026-06-17 21:31:15 +03:00
plugin-template feat(plugin): InteractiveCommand hook for click-to-place (API v2) 2026-06-17 21:43:35 +03:00
issue-78-comment.txt Add demo_plugin and plugin host integration tests 2026-06-09 13:52:15 -04:00
issue-78-reply.md Add plugin host architecture and Storm Sewer add-on package 2026-06-09 13:41:21 -04:00
native-vs-web.md docs: document native vs. web (wasm) differences 2026-06-17 04:44:12 +03:00
plugin-architecture.md feat(plugin): InteractiveCommand hook for click-to-place (API v2) 2026-06-17 21:43:35 +03:00
PR-plugin-host.md Add demo_plugin and plugin host integration tests 2026-06-09 13:52:15 -04:00