Skip to content

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

docs(plugins): finish moving the marketplace docs to the plugin center

vastsad403c9603038
diff --git a/docs/spec/06-delivery/04-e2e-test-plan.md b/docs/spec/06-delivery/04-e2e-test-plan.md
index 90290e0cb..80b4d01bd 100644
--- a/docs/spec/06-delivery/04-e2e-test-plan.md
+++ b/docs/spec/06-delivery/04-e2e-test-plan.md
@@ -3195,8 +3195,8 @@ identify the platform validation still needed.
#### E2E-024F: Refresh official remote marketplace repository
- **Preconditions**: Network available to GitHub raw content.
-- **Steps**: 1) Open Extensions → Marketplace. 2) Use the header Refresh marketplace action. 3) Confirm the source line points at `vastsa/pi-desktop-plugins`.
-- **Expected**: Catalog refreshes from the remote official repo; card grid updates; offline fallback still works if fetch fails.
+- **Steps**: 1) Open Extensions → Marketplace. 2) Use the header Refresh marketplace action. 3) Confirm the source line names the official channel (`plugins.aiuo.net`) and that the GitHub and CNB backups are selectable.
+- **Expected**: Catalog refreshes from the selected channel; card grid updates; offline fallback still works if fetch fails.
- **Specs linked**: `07-plugins/07-plugin-marketplace.md`
- **Acceptance**: G (remote marketplace source)
- **Status**: Documented / host-core unit covered
diff --git a/docs/spec/07-plugins/07-plugin-marketplace.md b/docs/spec/07-plugins/07-plugin-marketplace.md
index c67e4f95d..ce9611c74 100644
--- a/docs/spec/07-plugins/07-plugin-marketplace.md
+++ b/docs/spec/07-plugins/07-plugin-marketplace.md
@@ -30,9 +30,9 @@ The host is responsible for:
### Phase B ✅
- Browse/search + download install are implemented against the official provider
-- Official provider is the dedicated GitHub repo `vastsa/pi-desktop-plugins`
-- Default catalog URL: `https://raw.githubusercontent.com/vastsa/pi-desktop-plugins/main/catalog.json`
-- Package URLs may be absolute `https://` / `http://` / `file://`, or relative paths resolved against the catalog URL
+- Official provider: the plugin center, `plugins.aiuo.net` (Phase B originally pointed at the GitHub repository `vastsa/pi-desktop-plugins`; see "Catalog source selection" below and [ADR 0276](../../adr/0276-official-plugin-channel-and-backup-channels.md))
+- Default catalog URL: `https://plugins.aiuo.net/catalog.json`
+- Package URLs may be absolute `https://` / `http://` / `file://`, or a relative path resolved against the catalog's `artifactBaseUrl` when it declares one, and otherwise against the catalog URL
- HTTPS fetch uses `curl` in host-core
- curl diagnostics are decoded as UTF-8 first and as the active Windows ANSI
code page when needed; a network failure remains `PLUGIN_NETWORK`, but its
@@ -379,7 +379,7 @@ Before publishing or diagnosing a release, run the repository preflight:
```bash
pnpm check:marketplace -- \
- --url https://raw.githubusercontent.com/vastsa/pi-desktop-plugins/main/catalog.json \
+ --url https://plugins.aiuo.net/catalog.json \
--plugin <plugin-id>
```
diff --git a/docs/spec/07-plugins/14-plugin-roadmap.md b/docs/spec/07-plugins/14-plugin-roadmap.md
index 255c9a3d7..ac6c1f5ec 100644
--- a/docs/spec/07-plugins/14-plugin-roadmap.md
+++ b/docs/spec/07-plugins/14-plugin-roadmap.md
@@ -45,7 +45,7 @@ Local plugins usable → developer-friendly → marketplace distribution → sig
### R4 — Marketplace Read-only ✅
- market provider abstraction (official remote GitHub catalog provider)
-- Official-source browse/search from `vastsa/pi-desktop-plugins`
+- Official-source browse/search from `vastsa/pi-desktop-plugins` *(superseded: the official source is the plugin center, `plugins.aiuo.net`)*
- Download + checksum install
- updates list (manual update)
diff --git a/docs/spec/07-plugins/15-plugin-center.md b/docs/spec/07-plugins/15-plugin-center.md
index 40f709ef2..a5931a86c 100644
--- a/docs/spec/07-plugins/15-plugin-center.md
+++ b/docs/spec/07-plugins/15-plugin-center.md
@@ -55,31 +55,35 @@ vastsa/pi-plugin-center # management
vastsa/pi-desktop-plugins # distribution, unchanged addresses
├─ catalog.json # generated by the center
├─ packages/<pluginId>-<version>.piplug # published by the center
-└─ plugins/ # first-party sources, legacy
+└─ plugins/ # removed — sources live in publisher repositories
```
-The center never writes plugin source into either repository. `plugins/` holds
-the project's own demo plugins and predates publisher-owned sources; a
-third-party plugin adds a package and a catalog entry and nothing else.
+The center never writes plugin source into either repository. `plugins/` held the
+project's own demo plugins and predates publisher-owned sources; it was removed in
+2026-10, once every release came from a publisher's repository. A plugin adds a
+package and a catalog entry and nothing else.
### 3.2 Artifact URL
```text
-https://raw.githubusercontent.com/vastsa/pi-desktop-plugins/main/packages/<pluginId>-<version>.piplug
+https://raw.githubusercontent.com/AIUO-Net/pi-desktop-plugins/main/packages/<pluginId>-<version>.piplug
```
-Catalog entries keep a relative `url` of `packages/<pluginId>-<version>.piplug`,
-so it resolves against whichever host served the catalog:
+The catalog declares `artifactBaseUrl` and keeps a relative `url` of
+`packages/<pluginId>-<version>.piplug`, so a client resolves the package against
+the base the catalog names, whichever host served it:
```text
-GitHub raw.githubusercontent.com/vastsa/pi-desktop-plugins/main/…
-CNB cnb.cool/aixk/pi-desktop-plugins/-/git/raw/main/…
+center catalog artifactBaseUrl = raw.githubusercontent.com/AIUO-Net/pi-desktop-plugins/main
+distribution repo raw.githubusercontent.com/vastsa/pi-desktop-plugins/main
+CNB mirror cnb.cool/aixk/pi-desktop-plugins/-/git/raw/main/…
```
Because the mirror is a Git mirror, packages and catalog move together and stay
-byte-identical. A source switch mid-session therefore cannot cross providers or
-invalidate a checksum, and no `artifactBaseUrl` is required. The client still
-supports a declared base for mirrors and enterprise sources that need one.
+byte-identical, so a source switch mid-session cannot cross providers or invalidate
+a checksum. Declaring `artifactBaseUrl` is what keeps that true when the catalog is
+served from a host that does not itself host the packages; a catalog without it
+falls back to its own directory and can route a download at the wrong host.
### 3.3 What replaces WORM
diff --git a/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md b/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md
index ea0d2eca1..e99281635 100644
--- a/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md
+++ b/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md
@@ -1464,8 +1464,8 @@ task-candidate E2E 从请求工作树运行,但使用主工作区已经准备
#### E2E-024F:刷新官方远程市场存储库
- **先决条件**:网络可用于 GitHub 原始内容。
-- **步骤**:1) 打开扩展 → 市场。 2) 使用标题刷新市场操作。 3) 确认源代码行指向`vastsa/pi-desktop-plugins`。
-- **预期**:目录从远程官方存储库刷新;卡片网格更新;如果获取失败,离线回退仍然有效。
+- **步骤**:1) 打开扩展 → 市场。 2) 使用标题刷新市场操作。 3) 确认来源行显示官方通道(`plugins.aiuo.net`),且 GitHub 备份与 CNB 备份可选。
+- **预期**:目录从所选通道刷新;卡片网格更新;如果获取失败,离线回退仍然有效。
- **链接规格**:`07-plugins/07-plugin-marketplace.md`
- **接受**:G(远程市场来源)
- **状态**:已记录/涵盖 host-core 单元
diff --git a/docs/zh-CN/spec/07-plugins/07-plugin-marketplace.md b/docs/zh-CN/spec/07-plugins/07-plugin-marketplace.md
index 7e805454b..e1ae2ff28 100644
--- a/docs/zh-CN/spec/07-plugins/07-plugin-marketplace.md
+++ b/docs/zh-CN/spec/07-plugins/07-plugin-marketplace.md
@@ -33,9 +33,9 @@
### B阶段✅
- Browse/search + 下载安装是针对官方提供商实施的
-- 官方提供商是专用的 GitHub 存储库 `vastsa/pi-desktop-plugins`
-- 默认目录 URL:`https://raw.githubusercontent.com/vastsa/pi-desktop-plugins/main/catalog.json`
-- 包 URL 可以是绝对 `https://` / `http://` / `file://`,或根据目录 URL 解析的相对路径
+- 官方提供商是插件中心 `plugins.aiuo.net`(B 阶段最初指向 GitHub 仓库 `vastsa/pi-desktop-plugins`;见下方「目录来源选择」与 [ADR 0276](../../adr/0276-official-plugin-channel-and-backup-channels.md))
+- 默认目录 URL:`https://plugins.aiuo.net/catalog.json`
+- 包 URL 可以是绝对 `https://` / `http://` / `file://`,或相对路径:目录声明了 `artifactBaseUrl` 时按它解析,否则按目录 URL 解析
- HTTPS 获取在 host-core 中使用 `curl`
### 目录来源选择
@@ -297,7 +297,7 @@ host 必然拒绝的下载。批量更新会跳过这类版本,而不是让整
```bash
pnpm check:marketplace -- \
- --url https://raw.githubusercontent.com/vastsa/pi-desktop-plugins/main/catalog.json \
+ --url https://plugins.aiuo.net/catalog.json \
--plugin <plugin-id>
```
diff --git a/docs/zh-CN/spec/07-plugins/14-plugin-roadmap.md b/docs/zh-CN/spec/07-plugins/14-plugin-roadmap.md
index 6a8b1f1ca..ec57d65f0 100644
--- a/docs/zh-CN/spec/07-plugins/14-plugin-roadmap.md
+++ b/docs/zh-CN/spec/07-plugins/14-plugin-roadmap.md
@@ -42,7 +42,7 @@ Local plugins usable → developer-friendly → marketplace distribution → sig
### R4 — 市场只读 ✅
- 市场提供商抽象(官方远程 GitHub 目录提供商)
-- 来自 `vastsa/pi-desktop-plugins` 的官方来源 browse/search
+- 来自 `vastsa/pi-desktop-plugins` 的官方来源 browse/search(已被取代:官方来源是插件中心 `plugins.aiuo.net`)
- 下载+校验和安装
- 更新列表(手动更新)
diff --git a/docs/zh-CN/spec/07-plugins/15-plugin-center.md b/docs/zh-CN/spec/07-plugins/15-plugin-center.md
index 141a2a453..7a0a62a01 100644
--- a/docs/zh-CN/spec/07-plugins/15-plugin-center.md
+++ b/docs/zh-CN/spec/07-plugins/15-plugin-center.md
@@ -53,30 +53,31 @@ vastsa/pi-plugin-center # 管理面
vastsa/pi-desktop-plugins # 分发面,地址完全不变
├─ catalog.json # 由插件中心生成
├─ packages/<pluginId>-<version>.piplug # 由插件中心发布
-└─ plugins/ # 第一方源码,历史遗留
+└─ plugins/ # 已移除——源码归发布者所有
```
-插件中心绝不把插件源码写进这两个仓库中的任何一个。`plugins/` 存放的是本项目自己的
-示例插件,早于发布者自持源码这一模型;第三方插件只新增一个安装包和一条目录条目,
-不新增源码。
+插件中心绝不把插件源码写进这两个仓库中的任何一个。`plugins/` 存放过本项目自己的示例插件,
+早于发布者自持源码这一模型;2026-10 起每个版本都来自发布者仓库,该目录已删除。第三方插件
+只新增一个安装包和一条目录条目,不新增源码。
### 3.2 制品 URL
```text
-https://raw.githubusercontent.com/vastsa/pi-desktop-plugins/main/packages/<pluginId>-<version>.piplug
+https://raw.githubusercontent.com/AIUO-Net/pi-desktop-plugins/main/packages/<pluginId>-<version>.piplug
```
-目录条目的 `url` 保持为相对路径 `packages/<pluginId>-<version>.piplug`,因此它按
-承载该目录的主机解析:
+目录条目声明 `artifactBaseUrl`,`url` 保持相对路径 `packages/<pluginId>-<version>.piplug`,
+客户端据此按目录声明的基址解析——不管目录是从哪个主机取到的:
```text
-GitHub raw.githubusercontent.com/vastsa/pi-desktop-plugins/main/…
-CNB cnb.cool/aixk/pi-desktop-plugins/-/git/raw/main/…
+中心目录 artifactBaseUrl = raw.githubusercontent.com/AIUO-Net/pi-desktop-plugins/main
+本分发仓库 raw.githubusercontent.com/vastsa/pi-desktop-plugins/main
+CNB 镜像 cnb.cool/aixk/pi-desktop-plugins/-/git/raw/main/…
```
-由于镜像是 Git 镜像,安装包与目录一起移动并保持逐字节一致。会话中途切换源既不会跨
-提供方,也不会让校验和失效,而且不需要 `artifactBaseUrl`。客户端仍然支持声明基址,
-供确实需要它的镜像和企业源使用。
+由于镜像是 Git 镜像,安装包与目录一起移动并保持逐字节一致,会话中途切换源既不会跨提供方,
+也不会让校验和失效。目录声明 `artifactBaseUrl` 正是为了在「目录所在主机并不托管安装包」时
+依然成立;不声明时会退回按目录自身所在目录解析,可能把下载请求打到错误的域名。
### 3.3 用什么替代 WORM