Files
marqdo/lib/plugin.mq.md
T
cflmyandCursor fecaacd5be docs(lib): narrate remaining stdlib modules (M2)
Add module intros and per-function purpose lines across EN/ZH libs, with
callable examples on the smaller modules; keep + params and host bodies intact.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 11:47:35 +08:00

35 lines
531 B
Markdown

---
title: lib/plugin
description: Load optional native ABI plugins (.dll / .so / .dylib)
---
Load optional native ABI plugins (.dll / .so / .dylib).
## load
+ `path`
Load a native plugin from path.
Caller: [plugin.load] path=`so`
*> host_plugin_load path=`path`*
## unload
Unload the current native plugin.
*> host_plugin_unload*
## list
List loaded native plugins.
*> host_plugin_list*
## native_path
+ `name`
Resolve installed or local native plugin path (e.g. agent).
*> host_ext_native_path name=`name`*