fix(plugins): preserve document path encoding

Keep OS-native path data intact across IPC instead of replacing non-UTF-8 bytes.

Refs #901
This commit is contained in:
Hakan Seven committed 2026-08-29 16:00:18 +03:00
1 parent 1c52a2afcf
commit 0d766be3df
6 files changed
+13 -11

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ The host and each plugin run in separate OS processes. The host re-executes itse
- `OCS_PLUGIN_MAX_API_VERSION` can cap the accepted major at runtime (e.g. `4` to disable V5).
- A plugin built against major `N` runs on a host whose major is `>= N` because new vtable entries and enum variants are appended at the end.
- V4 introduces the **acadrust gate**: plugins targeting API v4 or later must resolve the same `acadrust` source as the host (see [`src/version_info.rs`](src/version_info.rs)).
- V5 introduces `BuiltinPlugin::on_load`, invoked once after the runner connects.
- V5 introduces `BuiltinPlugin::on_load` and tab-keyed document paths.
The runtime enforces three gates: