--- import { getCollection } from 'astro:content'; import Header from '../components/Header.astro'; import Footer from '../components/Footer.astro'; import PluginCard from '../components/PluginCard.astro'; import '../styles/global.css'; // Read at build time by the collection's loader (scripts/loader.mjs) — this site is static files // on cPanel. Under CI a registry that does not answer fails the build; off CI that entry is left out. const plugins = (await getCollection('plugins')) .map(({ id, data }) => ({ slug: id, name: data.pkg, description: data.description, repo: data.repo, npm: data.npm, jsr: data.jsr, version: data.version, runtimes: data.runtimes, // An internal plugin could be listed on npm alone and still be ours, so check both fields. internal: (data.jsr ?? data.npm ?? '').startsWith('@green-tea/'), })) .sort((a, b) => a.name.localeCompare(b.name)); --- Green Tea. plugins

Plugins

A plugin is a named object that adds steps and providers to your graph. It imports green-tea as types only, so installing one never pulls a second copy of core.

Everything here needs @green-tea/core@26.9.0-beta.2 or newer. That is the release where a plugin became { name, mount } and app.boot() went public; on anything older these will not mount.

{plugins.map((plugin) => )}

Add your plugin

Fork the listing, add one file under src/content/plugins/, open a pull request. There is no version and no runtimes field — both are read from the registry, so your entry cannot go stale.

npm: green-tea-foo            # at least one of npm / jsr
jsr: "@acme/green-tea-foo"
repo: https://github.com/acme/green-tea-foo
description: "One sentence, 20–200 characters."

A check runs against npm and JSR: the package has to exist, depend on @green-tea/core, and declare at least one runtime. Then a person reads it — that it really is a factory returning { name, mount }, and that its README lists all four runtimes with a reason beside each one it does not support.

Merged entries go live on the next Friday cut.

Open the listing on GitHub →