cad-editor/crates/ocs_plugin_api/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven f7590b1aa8 feat(plugin-api): let add-ons ask for a visual style by name
Removing the binary wireframe event left add-ons with no way to set a
visual style except by spelling out a command string. Give them the
intent back, in the vocabulary everything else now speaks.

The name is carried as text rather than the render-mode type: this crate
is dependency-free by default and only pulls acadrust in behind the host
feature, which is not a weight to add to the manifest contract for one
enum. The host resolves it against the same list its ribbon, its picker
and its commands read, so an add-on can offer exactly the styles the
application does and no others. An unknown name says so and lists the
ones that exist, from that same list.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-07 14:29:01 +03:00
..
ipc Add handler for document_cache for REPL 2026-07-24 00:30:22 +03:00
process feat(plugin): surface loaded plugin commands in command-line autocomplete 2026-07-04 23:01:53 +03:00
ribbon feat(plugin): surface loaded plugin commands in command-line autocomplete 2026-07-04 23:01:53 +03:00
host.rs feat(plugin): persist XDATA to DWG and let plugins modify/delete entities (#249, #250) 2026-07-02 15:39:26 +03:00
lib.rs Fix 5: Allow backward-compatibility and add plugin-template-v2 2026-06-25 00:02:17 +03:00
manifest.rs Fix 5: Allow backward-compatibility and add plugin-template-v2 2026-06-25 00:02:17 +03:00
process.rs feat(plugin): quiet plugin IPC logs; print one "Loaded plugin" line 2026-07-01 13:28:10 +03:00
ribbon.rs feat(plugin-api): let add-ons ask for a visual style by name 2026-08-07 14:29:01 +03:00
runner.rs perf(core): cache ribbon_groups() with OnceLock, avoid per-frame tree allocations 2026-07-02 21:00:57 +01:00
shm.rs Fix 4: shared-memory 2026-06-25 00:01:36 +03:00