Expand description
Prompt version control with diff and rollback.
Provides PromptRepository for committing, checking out, diffing, and
rolling back versioned prompt content using a line-by-line LCS diff
(Wagner-Fischer algorithm).
Structs§
- Prompt
Diff - Line-by-line diff between two prompt versions.
- Prompt
Repository - An append-only store of prompt versions with diff, rollback, and blame support.
- Prompt
Version - A single committed version of a prompt.
Functions§
- diff_
prompts - Compute a line-by-line diff of two strings using the Wagner-Fischer LCS algorithm.