@workflow-manager/runner
Version:
CLI runner for in-memory and markdown workflow orchestration using ATEP-like envelopes
26 lines (25 loc) • 728 B
TypeScript
export interface SkillMetric {
name: string;
chars: number;
}
export interface ContextMetrics {
totalChars: number;
sections: {
systemPrompts: number;
skills: SkillMetric[];
globalState: number;
previousOutput: number;
context: number;
objective: number;
};
}
export interface ContextMetricsBuilder {
addSystemPrompts(text: string): void;
addSkill(name: string, content: string): void;
addGlobalState(text: string): void;
addPreviousOutput(text: string): void;
addContext(text: string): void;
addObjective(text: string): void;
build(): ContextMetrics;
}
export declare function createContextMetricsBuilder(): ContextMetricsBuilder;