Title: Plugin API seam: api.plugins — a plugin can't enumerate its co-loaded siblings · Issue #610 · JavaScriptSolidServer/JavaScriptSolidServer · GitHub
Open Graph Title: Plugin API seam: api.plugins — a plugin can't enumerate its co-loaded siblings · Issue #610 · JavaScriptSolidServer/JavaScriptSolidServer
X Title: Plugin API seam: api.plugins — a plugin can't enumerate its co-loaded siblings · Issue #610 · JavaScriptSolidServer/JavaScriptSolidServer
Description: A plugin-API seam surfaced by building 33 out-of-tree plugins on the #206 loader (report). Lower-demand than the four ranked seams (#601–#604), but it is the single blocker for an honest read-only ops/status console — see "why now" below...
Open Graph Description: A plugin-API seam surfaced by building 33 out-of-tree plugins on the #206 loader (report). Lower-demand than the four ranked seams (#601–#604), but it is the single blocker for an honest read-only ...
X Description: A plugin-API seam surfaced by building 33 out-of-tree plugins on the #206 loader (report). Lower-demand than the four ranked seams (#601–#604), but it is the single blocker for an honest read-only ...
Opengraph URL: https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/610
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Plugin API seam: api.plugins — a plugin can't enumerate its co-loaded siblings","articleBody":"A plugin-API seam surfaced by building 33 out-of-tree plugins on the #206 loader ([report](https://github.com/JavaScriptSolidServer/plugins/blob/gh-pages/REPORT.md)). Lower-demand than the four ranked seams (#601–#604), but it is the **single blocker** for an honest read-only ops/status console — see \"why now\" below.\n\n## The gap\n\nA plugin cannot ask what else is loaded. The loader **already holds** the entry list (id, prefix, module) but exposes none of it on the `api` object. So the one kind of plugin whose whole job is *describing the deployment* has to be **hand-fed a duplicate** of the `createServer({ plugins })` array, and the two silently drift — an added plugin never appears, a removed one keeps getting probed, and the default \"\u003c500 = alive\" rule reports the stale entry as healthy.\n\n## Consumers\n\n- **`dashboard/`** (first live consumer) — a live plugin-status page. Today it takes a `config.plugins` array that must mirror the real loader list by hand.\n- **`admin/`** — the operator home; same hand-copied inventory.\n\nConcrete evidence: the demo composition (`serve.js`) now maintains a single `INVENTORY` array **beside** the real `plugins` array and feeds it to both — a workaround that exists *only* because the introspection seam is missing.\n\n## Sketch\n\n```js\napi.plugins // → [{ id, prefix, module }], read-only\n```\n\nA frozen snapshot of the loaded entries (not the config objects — no secrets). Optionally a per-entry `health`/`probe` hint later, but the minimal `{ id, prefix, module }` is enough to de-fiction the dashboard.\n\n## Cost\n\nSmall — the loader constructs this list at boot; this is a read-only view onto data it already has.\n\n## Not to be confused with (distinct, adjacent issues)\n\n- **#463 / #464** (apps-as-pod-resources): the larger vision of surfacing *installed apps as Solid-native resources*. `api.plugins` is the minimal loader primitive that such a feature could be **built on top of** — not a replacement for it.\n- **#184 / #194 / #200** (pane store / marketplace): *installing* new plugins from a store. `api.plugins` is pure **introspection of already-loaded** plugins — no install, no fetch, no network.\n- **#606** (webfinger link/JRD registry): a different registry (contributions to a shared discovery document), not loaded-plugin enumeration.\n\n## Why now\n\nThis is the **phase-1 blocker** for a *blessed read-only status console* for JSS. `dashboard/` is read-only and probes anonymously (a 401 counts as \"alive\"), so it needs no operator/auth seam — only this one, to stop the inventory being a hand-maintained fiction. With `api.plugins` landed, `dashboard/` becomes a faithful, self-maintaining status page worth shipping as an official plugin. (The richer `admin/` console — pod stats + an operator gate — is a later phase that additionally needs an operator-identity seam.)","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-07-11T10:55:19Z","url":"https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/610"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e0833ae7-5704-a22b-436c-9c5cf29ec8b1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC72:B4652:108FCA8:15072AD:6B038A3F |
| html-safe-nonce | b558313c890addaf680126d3b0ad31bfa65874beae0ab86a487930516c111441 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzcyOkI0NjUyOjEwOEZDQTg6MTUwNzJBRDo2QjAzOEEzRiIsInZpc2l0b3JfaWQiOiI2MjEyMjk0NTYxOTE0NjUzMjQ3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 82ad1b55ed2b4210eb154ec5ce0609987f6d9fd757ab33d824d44bd38167ad9f |
| hovercard-subject-tag | issue:4861901122 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JavaScriptSolidServer/JavaScriptSolidServer/610/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f36a15d1c8220567f3b7b49c6f77a33b9fb11012a31190cda033564692229731/JavaScriptSolidServer/JavaScriptSolidServer/issues/610 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f36a15d1c8220567f3b7b49c6f77a33b9fb11012a31190cda033564692229731/JavaScriptSolidServer/JavaScriptSolidServer/issues/610 |
| og:image:alt | A plugin-API seam surfaced by building 33 out-of-tree plugins on the #206 loader (report). Lower-demand than the four ranked seams (#601–#604), but it is the single blocker for an honest read-only ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | melvincarvalho |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/JavaScriptSolidServer/JavaScriptSolidServer git https://github.com/JavaScriptSolidServer/JavaScriptSolidServer.git |
| octolytics-dimension-user_id | 205442424 |
| octolytics-dimension-user_login | JavaScriptSolidServer |
| octolytics-dimension-repository_id | 958025407 |
| octolytics-dimension-repository_nwo | JavaScriptSolidServer/JavaScriptSolidServer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 958025407 |
| octolytics-dimension-repository_network_root_nwo | JavaScriptSolidServer/JavaScriptSolidServer |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width