AI Agent Guide
Use this page to quickly orient AI agents to this repository without scanning every file.
Where Agent References Live
Canonical entry files at repository root:
- llms.txt (quick reference)
- llms-full.txt (full repository guide)
Focused references are grouped under:
- llms/README.md
- llms/llms-components.txt
- llms/llms-patterns.txt
- llms/llms-core.txt
- llms/llms-providers.txt
- llms/llms-utils.txt
- llms/llms-types.txt
Plain text links above open directly as raw text files (no docs chrome).
GitHub Raw Fallback
If you want direct GitHub raw URLs:
Recommended Reading Order for Agents
- Read
llms.txtfirst. - Read one focused file for the active task area.
- Read
llms-full.txtonly if broader architecture context is needed.
Task-to-File Mapping
- Component behavior and props:
- Common usage patterns and recipes:
- Runtime store/bridge internals:
- Provider/context lifecycle:
- Public utility facade and helper behavior:
- Type contracts and typed helpers:
Ground Rules for Agent Changes
- Preserve public API behavior unless explicitly requested.
- Keep host-aware routing semantics intact.
- Prefer docs/example improvements over internal rewrites.
- Keep current docs and versioned docs in sync when docs behavior changes.
- Validate with:
pnpm run typecheckpnpm run testpnpm run docs:check