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>
This commit is contained in:
1 parent
53bc3538da
commit
fecaacd5be
49 files changed
+617
-21
No files matched your search
+11
-1
@@ -3,22 +3,32 @@ 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 / local native plugin path (e.g. `agent`).
|
||||
Resolve installed or local native plugin path (e.g. agent).
|
||||
|
||||
*> host_ext_native_path name=`name`*
|
||||
Reference in new issue
Block a user