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:
5 files changed
+330
-1
No files matched your search
@@ -164,6 +164,13 @@ npm treats versions as semver and semver forbids leading zeros.
|
||||
|
||||
### Added
|
||||
|
||||
- **`llms.txt` ships in the package** (`node_modules/@green-tea/core/llms.txt`, and in the JSR
|
||||
package). It is a guide for LLM coding agents, which have no training data on green-tea and fall back
|
||||
on Express habits. It covers the mental model, a complete app, the decorators and built-in tokens,
|
||||
how responses are returned, the options agents usually need, the common mistakes with their correct
|
||||
form, testing, and how to inspect an app before editing it. Every code block typechecks against this
|
||||
release. Projects scaffolded by matcha point their `AGENTS.md` at it.
|
||||
|
||||
- **Every type a public signature uses can now be imported.** These were already in the
|
||||
declarations, but nothing exported them, so code could call the API and could not name what it
|
||||
passed or got back. From the root: `ModuleOptions`, `Ctor`, `BusLike`, `ArgSource`,
|
||||
|
||||
Reference in new issue
Block a user