trellis
Version:
Agentic State Engine — event-sourced causal graph with branching, decision traces, and realtime sync for AI-native applications
26 lines • 888 B
TypeScript
/**
* Idea Garden API
*
* Provides functions to query the Trellis kernel for abandoned threads,
* rejected plans, and unexplored alternatives, surfacing them as RecoverableIdeas.
*/
import type { TrellisKernel } from '../../core/kernel/trellis-kernel.js';
import type { RecoverableIdea } from './types.js';
export declare class IdeaGarden {
private kernel;
constructor(kernel: TrellisKernel);
/**
* Harvests all recoverable ideas from the graph.
* Scans for:
* 1. Rejected/Cancelled PendingPlans
* 2. Archived Conversations
* 3. DecisionTraces with unexplored alternatives
*/
harvestIdeas(): RecoverableIdea[];
/**
* Resurrects a rejected plan by creating a new active 'pending' replica of it.
* Returns the new PendingPlan ID.
*/
resurrectPlan(ideaId: string): Promise<string>;
}
//# sourceMappingURL=api.d.ts.map