Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

docs(plugins): send plugin publishing to the plugin center

vastsacfef0dcd5f90
diff --git a/docs/plugin-development.md b/docs/plugin-development.md
index 92f8afd15..e7da24c0f 100644
--- a/docs/plugin-development.md
+++ b/docs/plugin-development.md
@@ -963,10 +963,14 @@ Before sharing a package:
8. Run `pi-plugin pack` and install the resulting package in a clean app state.
9. Record the printed SHA-256 next to the release artifact.
-For the official marketplace, submit the package and catalog metadata to
-[`vastsa/pi-desktop-plugins`](https://github.com/vastsa/pi-desktop-plugins) and
-follow that repository's `CONTRIBUTING.md`. The marketplace catalog is a
-separate repository; adding a plugin here does not publish it.
+For the official marketplace, publish on the plugin center,
+[plugins.aiuo.net](https://plugins.aiuo.net): create the plugin, bind the repository it lives in,
+tag the version and submit it — from the console, or with the publishing skill over MCP. The
+center packs the files, audits the source, records the SHA-256 and publishes the version, then
+mirrors the catalog and packages to
+[AIUO-Net/pi-desktop-plugins](https://github.com/AIUO-Net/pi-desktop-plugins) for the GitHub
+backup channel. Plugin sources are never hosted in the distribution repository, and pull requests
+that add them are closed.
Signatures are not the current trust primitive. Package SHA-256 and explicit
permission review are the implemented baseline; follow the
diff --git a/docs/spec/07-plugins/07-plugin-marketplace.md b/docs/spec/07-plugins/07-plugin-marketplace.md
index 5959f6a70..c67e4f95d 100644
--- a/docs/spec/07-plugins/07-plugin-marketplace.md
+++ b/docs/spec/07-plugins/07-plugin-marketplace.md
@@ -637,28 +637,27 @@ Installs always pass through checksum verification and permission review before
## 13. Official marketplace repository
-### Current source (catalog v1)
+The distribution repository
+([vastsa/pi-desktop-plugins](https://github.com/vastsa/pi-desktop-plugins)) holds the published
+`catalog.json` and the `packages/*.piplug` artifacts it references. Plugin sources are neither
+hosted nor reviewed there: the center packs, audits, records the SHA-256 and publishes from each
+publisher's own repository, then mirrors the catalog and packages for the GitHub backup channel
+([15-plugin-center.md](15-plugin-center.md),
+[ADR 0276](../../adr/0276-official-plugin-channel-and-backup-channels.md)).
-Repository: [vastsa/pi-desktop-plugins](https://github.com/vastsa/pi-desktop-plugins)
+### Retired source layout (catalog v1)
```text
-catalog.json
-packages/*.piplug
-plugins/<id>/
-scripts/pack_plugin.py
-scripts/rebuild_catalog.py
+catalog.json # published catalog, generated by the center
+packages/*.piplug # published artifacts
+plugins/<id>/ # removed — sources live in each publisher's repository
+scripts/pack_plugin.py # removed — the center packs
+scripts/rebuild_catalog.py # removed — the center generates the catalog
```
-Maintenance flow:
-
-1. Edit `plugins/<id>`
-2. `python3 scripts/pack_plugin.py plugins/<id>`
-3. `python3 scripts/rebuild_catalog.py`
-4. Commit + push to `main`
-5. PI-Desktop refreshes via `market.refresh` / marketplace UI
-
-Today a maintainer edits the source in place, packs it, and regenerates the
-catalog by hand. That is what changes below; the addresses do not.
+The per-plugin maintenance flow this section used to describe (edit `plugins/<id>`, pack, rebuild
+the catalog, commit) is gone. A release is published on the center — tag the publisher's
+repository, bind it to the plugin, submit the version — and `catalog.json` arrives by mirror.
### Who writes it (catalog v2)
@@ -707,7 +706,9 @@ requests into High / Medium / Low risk sections and tags entries that are new
relative to the installed version, so an upgrade cannot silently widen access
(D169).
-Contribution docs live in the official warehouse:
+Authoring documentation lives with the host, and publishing happens on the center:
-- https://github.com/vastsa/pi-desktop-plugins/blob/main/CONTRIBUTING.md
-- Practical template: `plugins/demo.workspace-summary`
+- Host guide: `docs/plugin-development.md`
+- Publishing: [plugins.aiuo.net](https://plugins.aiuo.net) — console, or the publish skill over MCP
+- Built-in templates: `panel-basic`, `agent-tool-basic`, `skill-pack`, `full-demo`
+- Distribution-side contribution guide: `vastsa/pi-desktop-plugins` `CONTRIBUTING.md`
diff --git a/docs/zh-CN/plugin-development.md b/docs/zh-CN/plugin-development.md
index e0047a4fd..8f63c732a 100644
--- a/docs/zh-CN/plugin-development.md
+++ b/docs/zh-CN/plugin-development.md
@@ -842,10 +842,11 @@ commit 并给出警告。插件相对仓库根目录的路径也会被记录,
8. 运行 `pi-plugin pack` 并以干净的应用程序状态安装生成的包。
9. 在发布工件旁边记录打印的 SHA-256。
-对于官方市场,请将包和目录元数据提交至
-[`vastsa/pi-desktop-plugins`](https://github.com/vastsa/pi-desktop-plugins) 和
-遵循该存储库的 `CONTRIBUTING.md`。市场目录是
-单独的存储库;在这里添加插件不会发布它。
+官方市场的发布走插件中心 [plugins.aiuo.net](https://plugins.aiuo.net):创建插件、绑定插件所在的仓库、
+给版本打标签并提交——可以在控制台操作,也可以用发布 skill 走 MCP。平台负责打包、审查源码、记录
+SHA-256 并发布该版本,再把目录与安装包同步到
+[AIUO-Net/pi-desktop-plugins](https://github.com/AIUO-Net/pi-desktop-plugins) 作为 GitHub 备用通道。
+分发仓库不托管插件源码,向它提交「新增插件源码」的 PR 会被关闭。
签名不是当前的信任原语。包 SHA-256 和显式
许可审查是实施的基线;遵循