Frontmatter imports are now valid YAML (`import:` / `导入:` with bind→target entries), removing spaced keys. Add `marqdo migrate imports`, hard-error the old one-liner form, and migrate lib/ext/examples/tests/docs accordingly. Co-authored-by: Cursor <cursoragent@cursor.com>
20 lines
478 B
Markdown
20 lines
478 B
Markdown
---
|
|
title: ext/web/_capability
|
|
description: Internal — load native web plugin once. Authors must not call this; import web = capability (ADR 0007).
|
|
import:
|
|
plugin: lib/plugin.mq.md
|
|
sys: lib/sys.mq.md
|
|
---
|
|
|
|
## load
|
|
|
|
Load ABI v2 `web` plugin if present. Fail loud when missing.
|
|
|
|
**p = > plugin.native_path name="web"**
|
|
1. `p`
|
|
> plugin.load path=`p`
|
|
2. *
|
|
> print text=ext/web: native web plugin not found (build plugins/web or marqdo ext add web)
|
|
> sys.exit code=1
|
|
****
|