Bind imports to library names with bare path calls (and use), forward optional host args through mq wrappers, stabilize writeback replacement newlines, and document the M1/M2 decisions. Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
362 B
Markdown
25 lines
362 B
Markdown
---
|
||
title: lib/插件
|
||
description: 加载可选原生 ABI 插件(.dll / .so / .dylib)
|
||
---
|
||
|
||
## 加载
|
||
+ `路径`
|
||
|
||
**> host_plugin_load path=`路径`**
|
||
|
||
## 卸载
|
||
|
||
**> host_plugin_unload**
|
||
|
||
## 列出
|
||
|
||
**> host_plugin_list**
|
||
|
||
## 原生路径
|
||
+ `名`
|
||
|
||
解析已安装或本地原生插件路径(如 `agent`)。
|
||
|
||
**> host_ext_native_path name=`名`**
|