import type { RepoSettings } from './types.ts' /** * Everything owner-specific about Lineage lives here. The defaults are the * values the kody org deployment uses (charting kody-hq/kody), so * the live app keeps rendering exactly what it always has. * * Forking? Change these values, or (for the tracked repo only) call * `./settings` at runtime to override without republishing. Storage settings * always win over `defaultRepo`. */ export const lineageConfig = { /** Repository charted when `./settings` has never been called. */ defaultRepo: { owner: 'kody-hq', repo: 'kody', branch: 'main', } satisfies RepoSettings, /** Hosted origin used only when the platform does not supply hostedUrl. */ fallbackHostedOrigin: 'https://lineage--kody.kody.run', /** Mount path used only when the platform does not supply appBasePath. */ fallbackAppBasePath: '', /** Commit `./inspect-commit` re-fetches when called without a sha. */ inspectDefaultSha: '35878a47ef4aa3567eb6f6b5ea4d3d2c753934b5', branding: { appName: 'Lineage', description: 'Commit-level lines that should count — generated files stay off the books.', themeColorLight: '#c8102e', themeColorDark: '#16090c', backgroundColor: '#fff6ec', }, } export function repoLabel(repo: RepoSettings): string { return `${repo.owner}/${repo.repo}` }