From 2dcc51417e9df99cda2c3e0a172041af743f2f08 Mon Sep 17 00:00:00 2001 From: yetone Date: Tue, 13 Oct 2026 18:54:55 +0800 Subject: [PATCH] plugins: the window gets a plugin kernel, and the Gateway page is the first page a plugin draws (P1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit P1 of docs/subsystems/plugin-runtime.md. P0 (3ccbe6bc1) gave built-in plugins a manifest, plugins.yml and a switch; their pages were still app.js's own code. Now the window has a kernel a plugin draws its page through, and the Gateway page moved into plugins/gateway to prove it. What changed: - internal/gui/assets/kernel.js (new): window.magpie. A plugin registers with magpie.plugin(id, setup); ctx.slots.add("page", part) puts its markup where index.html's