Files
cindy/packages/plugin-protocol
Dash fe31bb20cf feat(plugins): add detailed plugin introduction (manifest.readme)
Plugins can now declare `readme` in ghost.json: a locale map to package
Markdown files (en required). The introduction is shown below the short
description on the installed plugin detail page, the market detail page
(custom markets read the source copy; the official market reads an
optional `readme` field the server can return for `?readmeLocale=`), and
the mobile plugin detail page (fetched on demand via `readme:get`).

Only package images are shown: paths are resolved with
`resolveGhostReadmeAssetPath`, read with link-rejecting bounded reads and
handed to the UI as data URLs; MarkdownRenderer gains `resolveImageSrc` so
remote and inline data images never load. The content never enters model
context. Old clients ignore the field and keep showing `description`.

Forge packing checks readme files and referenced images; the plugin
creator manual documents the contract.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-06 01:15:09 +13:00
..