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:
cflmyandCursor committed 2026-09-14 11:47:35 +08:00
1 parent 53bc3538da
commit fecaacd5be
49 files changed
+617 -21

No files matched your search

+11 -1
View File
@@ -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`*