UNPKG

histoire

Version:

A fast story book powered by Vite

21 lines • 826 B
import type { Context } from '../context.js'; /** Story conventions an agent needs to write valid stories for this project. */ export interface AiProjectContext { /** Globs collecting story files. */ storyMatch: string[]; /** Configured Histoire plugin names (framework support). */ plugins: string[]; /** Project-relative setup files. */ setupFiles: string[]; /** Number of project-owned story files. */ stories: number; /** Project-relative story files to follow as examples. */ examples: string[]; } /** * Bounded story conventions; examples use the most common story extension so * the agent copies the dominant framework syntax. * @param ctx Dev context. */ export declare function aiProjectContext(ctx: Context): AiProjectContext; //# sourceMappingURL=project-context.d.ts.map