Skip to content

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

docs(plugins): renumber the launcher ADR to 0343

v_wyxgwang6700105d29c7
diff --git a/docs/adr/0339-plugin-launcher-local-apps.md b/docs/adr/0343-plugin-launcher-local-apps.md
similarity index 99%
rename from docs/adr/0339-plugin-launcher-local-apps.md
rename to docs/adr/0343-plugin-launcher-local-apps.md
index 20206e89e..d42b5f950 100644
--- a/docs/adr/0339-plugin-launcher-local-apps.md
+++ b/docs/adr/0343-plugin-launcher-local-apps.md
@@ -1,4 +1,4 @@
-# ADR 0339: The plugin launcher enumerates and opens local applications
+# ADR 0343: The plugin launcher enumerates and opens local applications
- Status: Accepted
- Date: 2026-11-05
diff --git a/docs/adr/README.md b/docs/adr/README.md
index ee8b3bf5b..bbd032852 100644
--- a/docs/adr/README.md
+++ b/docs/adr/README.md
@@ -401,6 +401,6 @@ Each ADR includes:
| model-reasoning-effort-override | [Model reasoning effort override](model-reasoning-effort-override.md) | Proposed |
-| 0339 | [The plugin launcher enumerates and opens local applications](0339-plugin-launcher-local-apps.md) | Accepted (issue #2085) |
| 0342 | [Built-in computer use is a host-owned capability behind a user-picked scope grant](0342-os-computer-use-capability.md) | Proposed (D681; amends non-goal 9) |
| 0340 | [Let a granted plugin reach every session, not only its imports](0340-plugin-session-all-scope.md) | Accepted (D680; amends ADR 0200 and ADR 0323) |
+| 0343 | [The plugin launcher enumerates and opens local applications](0343-plugin-launcher-local-apps.md) | Accepted (issue #2085) |
diff --git a/docs/spec/07-plugins/18-plugin-launcher.md b/docs/spec/07-plugins/18-plugin-launcher.md
index 1e8e8503a..6971a3bf6 100644
--- a/docs/spec/07-plugins/18-plugin-launcher.md
+++ b/docs/spec/07-plugins/18-plugin-launcher.md
@@ -9,7 +9,7 @@
> ADR [0072](../../adr/0072-global-plugin-launcher.md),
> ADR [0080](../../adr/0080-prewarm-global-plugin-launcher.md),
> ADR [0090](../../adr/0090-user-configurable-close-behavior-close-to-tray.md),
-> ADR [0339](../../adr/0339-plugin-launcher-local-apps.md).
+> ADR [0343](../../adr/0343-plugin-launcher-local-apps.md).
## 1. Purpose and non-goals
@@ -238,7 +238,7 @@ The renderer receives a display name, an executable name, a source tag
`pi-desktop/pluginLauncher/openApp` resolves it against the host's own scan and
re-checks that the target still exists before launching, so the surface cannot be
turned into "start any program I name".
-ADR [0339](../../adr/0339-plugin-launcher-local-apps.md) records this decision.
+ADR [0343](../../adr/0343-plugin-launcher-local-apps.md) records this decision.
## 10. Window size, position, and state
diff --git a/docs/zh-CN/spec/07-plugins/18-plugin-launcher.md b/docs/zh-CN/spec/07-plugins/18-plugin-launcher.md
index 801e91a6b..376bfe991 100644
--- a/docs/zh-CN/spec/07-plugins/18-plugin-launcher.md
+++ b/docs/zh-CN/spec/07-plugins/18-plugin-launcher.md
@@ -4,7 +4,7 @@
> 状态:已为 issue #2085 实现(全局插件启动器重写)。
> 范围:启动器界面、插件触发器贡献、本机应用发现,以及二者周围的 IPC 与安全边界。
-> 相关:[09-plugin-command-palette.md](09-plugin-command-palette.md)、[02-plugin-manifest-schema.md](02-plugin-manifest-schema.md) §4、ADR 0034、ADR 0072、ADR 0080、ADR 0090、ADR 0339。
+> 相关:[09-plugin-command-palette.md](09-plugin-command-palette.md)、[02-plugin-manifest-schema.md](02-plugin-manifest-schema.md) §4、ADR 0034、ADR 0072、ADR 0080、ADR 0090、ADR 0343。
## 1. 目的与非目标
@@ -138,7 +138,7 @@
上限:扫描结果缓存 5 分钟,最多 600 条,只为前 200 条提取图标。图标取平台的 `large` 变体,每个 data URL 不超过 32 KiB,并按条目 id 与图标路径缓存跨扫描复用;条目消失时其缓存图标也会被清理,因此重复扫描不会重复付出同一次查询。目标已不存在的条目会被丢弃。
-渲染端只会收到显示名称、可执行文件名、来源标签(`start-menu` / `app-bundle` / `desktop-entry`)、图标和不透明的 `app:<slug>` id——永远没有路径。打开磁贴时发送该 id;`pi-desktop/pluginLauncher/openApp` 会在宿主自己的扫描结果中解析它,并在启动前重新检查目标仍然存在,因此该界面无法被变成“启动我指定的任意程序”。ADR 0339 记录了这个决定。
+渲染端只会收到显示名称、可执行文件名、来源标签(`start-menu` / `app-bundle` / `desktop-entry`)、图标和不透明的 `app:<slug>` id——永远没有路径。打开磁贴时发送该 id;`pi-desktop/pluginLauncher/openApp` 会在宿主自己的扫描结果中解析它,并在启动前重新检查目标仍然存在,因此该界面无法被变成“启动我指定的任意程序”。ADR 0343 记录了这个决定。
## 10. 窗口尺寸、位置与状态