@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
19 lines • 669 B
JavaScript
import { BRAND, getChangelogPath, VERSION } from "../config.js";
function brandSource(brand) {
const configured = brand.changelog;
if (!configured) {
return { id: brand.name.toLowerCase(), path: getChangelogPath(), version: undefined, rewriteLinks: false };
}
return {
id: brand.name.toLowerCase(),
path: configured.path,
version: configured.version,
rewriteLinks: false,
};
}
export function resolveChangelogSource() {
if (BRAND)
return brandSource(BRAND);
return { id: "engine", path: getChangelogPath(), version: VERSION, rewriteLinks: true };
}
//# sourceMappingURL=changelog-source.js.map