Files
marqdo/public/stdlib/plugin.mq.md
T
cflmyandCursor 3a7e11c995 Add ext/agent layout framework, ext CLI, and docs catch-up.
Ship ABI agent plugin helpers, marqdo ext list/add/remove, and document the agent development roadmap (compose LLM, match/assign).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 13:31:25 +08:00

19 lines
501 B
Markdown

---
title: lib/plugin — native ABI
description: Load optional shared libraries (.dll / .so / .dylib)
> lib/plugin.mq.md
---
# main
Import lib/plugin.mq.md. Functions: load(path), unload(), list(). After load, registered plugin names are callable like other functions. C ABI: include/marqdo_abi.h — see doc/design/ext-abi.md. Path must stay under the program sandbox (cwd / fs root).
*`names` = > list *
*`n` = > len `names` *
+ `n` >= 0
> print text=plugin-ok
+ *
> print text=plugin-bad