Files
marqdo/public/features/05-extensions.mq.md
T
cflmyandCursor 209dc4fc5d Fix public docs run errors and optional gate matrix binding.
Markdown list dashes were parsed as loops; quantum.gate name=H failed because plugin bind required matrix. Repair user-site pages and redeploy-ready sources.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-12 15:36:58 +08:00

46 lines
1.2 KiB
Markdown

---
title: Official extensions (ext/)
description: Optional packages — not stdlib
---
# main
ext/ holds official optional extensions. They are not part of lib/. Resolve via MARQDO_EXT, ./ext, or ext/ next to the binary.
Install (v0.2+):
```text
marqdo ext list
marqdo ext add llm
marqdo ext add agent
marqdo ext add web
marqdo ext add quantum
```
For packages with a native plugin, build first then add:
```text
cargo build --release -p marqdo_plugin_agent
cargo build --release -p marqdo_plugin_web
cargo build --release -p marqdo_plugin_quantum
marqdo ext add agent
marqdo ext add web
marqdo ext add quantum
```
Packages (not Markdown list markers — those are loops in Marqdo):
ext/llm — OpenAI-compatible chat. Design: doc/design/ext-llm.md
ext/agent — agent framework + native plugin. Design: doc/design/ext-agent.md
ext/web — HTTP / SQLite site helpers + native plugin. Design: doc/design/ext-web.md
ext/quantum — circuits, draw, noise, formula matrix custom gates. Design: doc/design/ext-quantum.md
Installer: marqdo ext list / add / remove — doc/design/ext-cli.md
Native plugins: lib/plugin + include/marqdo_abi.h — doc/design/ext-abi.md
> print text=ext-ok