This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/@mariozechner/pi-coding-agent/dist/utils/changelog.d.ts
T

21 lines
722 B
TypeScript

export interface ChangelogEntry {
major: number;
minor: number;
patch: number;
content: string;
}
/**
* Parse changelog entries from CHANGELOG.md
* Scans for ## lines and collects content until next ## or EOF
*/
export declare function parseChangelog(changelogPath: string): ChangelogEntry[];
/**
* Compare versions. Returns: -1 if v1 < v2, 0 if v1 === v2, 1 if v1 > v2
*/
export declare function compareVersions(v1: ChangelogEntry, v2: ChangelogEntry): number;
/**
* Get entries newer than lastVersion
*/
export declare function getNewEntries(entries: ChangelogEntry[], lastVersion: string): ChangelogEntry[];
export { getChangelogPath } from "../config.js";
//# sourceMappingURL=changelog.d.ts.map