File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed
Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -9,3 +9,4 @@ export * from './i18n-status'
99export * from './comparison'
1010export * from './skills'
1111export * from './version-downloads'
12+ export * from './llms-txt'
Original file line number Diff line number Diff line change 1+ /**
2+ * Agent instruction file discovered in a package
3+ */
4+ export interface AgentFile {
5+ /** Relative path within the package (e.g., "CLAUDE.md", ".github/copilot-instructions.md") */
6+ path : string
7+ /** File content */
8+ content : string
9+ /** Human-readable display name (e.g., "Claude Code", "GitHub Copilot") */
10+ displayName : string
11+ }
12+
13+ /**
14+ * Result of gathering all data needed to generate llms.txt
15+ */
16+ export interface LlmsTxtResult {
17+ /** Package name (e.g., "nuxt" or "@nuxt/kit") */
18+ packageName : string
19+ /** Resolved version (e.g., "3.12.0") */
20+ version : string
21+ /** Package description from packument */
22+ description ?: string
23+ /** Homepage URL */
24+ homepage ?: string
25+ /** Repository URL */
26+ repositoryUrl ?: string
27+ /** README content (raw markdown) */
28+ readme ?: string
29+ /** Discovered agent instruction files */
30+ agentFiles : AgentFile [ ]
31+ }
You can’t perform that action at this time.
0 commit comments