trellis
Version:
Agentic State Engine — event-sourced causal graph with branching, decision traces, and realtime sync for AI-native applications
27 lines • 777 B
TypeScript
/**
* Context Seeding
*
* Rewrites agent context files based on current repository state.
* Provides the `trellis seed` command to refresh context without re-running init.
*
* @module trellis/scaffold/seed
*/
import type { IdeType } from './write.js';
export interface SeedOptions {
rootPath: string;
ide?: IdeType;
force?: boolean;
}
export interface SeedResult {
success: boolean;
filesUpdated: string[];
timestamp: string;
}
/**
* Refresh the agent context files by re-inferring project context.
*
* @param opts - Options including rootPath and IDE target
* @returns SeedResult with success status and list of updated files
*/
export declare function seedContext(opts: SeedOptions): Promise<SeedResult>;
//# sourceMappingURL=seed.d.ts.map