From c3a3e3461ea7cde6185f9ce5e5d81c1d374bb4b7 Mon Sep 17 00:00:00 2001
From: Diego Resendez
Date: Thu, 24 Sep 2026 10:20:26 -0500
Subject: [PATCH] fix: keep the home's claims to what the code guarantees
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
"Node · Deno · Bun · workerd" under the hero read as a promise every
plugin runs everywhere; it now says the core version needed and that
runtimes are per plugin. Core-as-types is a convention review checks,
not something the listing enforces. A plugin cannot reorder or remove
the app's steps, which is narrower than "anything already there". And
the listing only rebuilds at a cut, not on every release.
Signed-off-by: Diego Resendez
---
src/components/sections/Hero.astro | 7 ++++++-
src/components/sections/WhatIsAPlugin.astro | 7 ++++---
src/components/sections/WhyHere.astro | 2 +-
3 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/src/components/sections/Hero.astro b/src/components/sections/Hero.astro
index b272480..6e9f67e 100644
--- a/src/components/sections/Hero.astro
+++ b/src/components/sections/Hero.astro
@@ -36,7 +36,7 @@ export function greeting(text = 'hello'): Plugin {
Add your pluginBrowse plugins
-
Node · Deno · Bun · workerd
+
Needs @green-tea/core@26.9.0-beta.2 or newer. Each card shows which runtimes that plugin supports.
@@ -87,6 +87,11 @@ export function greeting(text = 'hello'): Plugin {
letter-spacing: 0.03em;
}
+ .hero__micro code {
+ font-family: var(--font-mono);
+ color: var(--ink);
+ }
+
.hero__code {
margin: 0;
background: var(--panel);
diff --git a/src/components/sections/WhatIsAPlugin.astro b/src/components/sections/WhatIsAPlugin.astro
index 8038bd4..146ed89 100644
--- a/src/components/sections/WhatIsAPlugin.astro
+++ b/src/components/sections/WhatIsAPlugin.astro
@@ -1,7 +1,8 @@
---
// Every claim here is checked against core: the shape and the three-method API are
// `Plugin`/`PluginApi` in src/plugin.ts, and `mountPlugin` hands over nothing else, which is why a
-// plugin cannot reorder or remove what an app already has.
+// plugin cannot reorder or remove the app's steps. That guarantee covers registration only: a
+// plugin's step still sees the live request context (see the comment in mountPlugin).
const points = [
{
title: 'One object',
@@ -9,11 +10,11 @@ const points = [
},
{
title: 'Core as types only',
- body: 'Plugins import @green-tea/core with import type. Installing one never pulls in a second copy of core, so there is no version to line up.',
+ body: 'Plugins import @green-tea/core with import type and keep it out of dependencies, and review checks for it. So installing one does not pull in a second copy of core.',
},
{
title: 'The graph picks the order',
- body: 'Say what your plugin needs and what it provides, and green-tea decides where it runs. A plugin can add to an app, but it cannot reorder or remove anything that is already there.',
+ body: 'Say what your plugin needs and what it provides, and green-tea decides where it runs. A plugin can only add nodes to the graph. It has no way to reorder or remove the app’s own steps.',
},
];
---
diff --git a/src/components/sections/WhyHere.astro b/src/components/sections/WhyHere.astro
index 22c5c11..5c402b7 100644
--- a/src/components/sections/WhyHere.astro
+++ b/src/components/sections/WhyHere.astro
@@ -5,7 +5,7 @@ const reasons = [
{ title: 'Runtimes read, not typed', body: 'Each card shows where your plugin runs, taken from what the package declares.' },
{
title: "It doesn't go stale",
- body: 'Your entry has no version in it. Every build asks the registry, so a new release shows up at the next cut without another pull request.',
+ body: 'Your entry has no version in it. Each rebuild of the listing asks the registry again, so your card picks up a new release without you touching the entry.',
},
{ title: 'Read by a person', body: 'Someone who works on green-tea reads each entry before it is listed.' },
];