feat: ship llms.txt, a guide for LLM coding agents, in the npm and JSR packages

green-tea is new, so coding agents have no training data on it and
write Express: app.use, next(), res.status().json(). llms.txt states
what differs: the mental model, a complete app, the decorators and
built-in tokens, how to return responses, the options agents usually
need, common mistakes with the correct form, testing, and how to
inspect an app first.

Every code block was typechecked against src/, and each behavioural
claim was checked with a small probe app.

The file ships inside the package, so it always matches the installed
version. matcha's scaffolded AGENTS.md points at it. Only a packaged
file is added; the API is unchanged.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
chrnx committed 2026-10-30 20:30:05 -05:00
1 parent 6eaa519059
commit 4877ea1754
5 files changed
+330 -1

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@
"./edge": "./src/edge.ts"
},
"publish": {
"include": ["src", "README.md", "CHANGELOG.md", "LICENSE", "deno.json"]
"include": ["src", "llms.txt", "README.md", "CHANGELOG.md", "LICENSE", "deno.json"]
},
"compilerOptions": {
"experimentalDecorators": true,