Skip to content
← Public packages

@kody/lineage

Interactive commit-level lines of kody, minus generated noise, as an offline-ready chart.

FollowForkOpen app

Files

index.ts

36 lines · 1.4 KB · TypeScript
/**
 * Describe the Lineage package: a commit-level lines-of-code explorer for kody-hq/kody.
 * Use this overview when deciding which export to call next.
 *
 * @returns Package name, tracked repo default, and export map
 *
 * @example
 * import describe from 'kody:@kody/lineage'
 *
 * const info = await describe()
 */
import { lineageConfig, repoLabel } from './config.ts'

export default async function describe() {
	return {
		name: '@kody/lineage',
		app: lineageConfig.branding.appName,
		defaultRepo: repoLabel(lineageConfig.defaultRepo),
		exports: {
			'.': 'Package overview',
			'./backfill': 'Ingest missing historical commits into package storage',
			'./backfill-continue': 'Queue remaining backfill batches until the branch is stored',
			'./ingest-missing': 'Fill recent or explicit missing commits',
			'./handle-github-webhook': 'GitHub push webhook for main',
			'./series': 'Chart series used by the hosted app',
			'./settings': 'Read or update the tracked repository',
			'./commentary': 'Graph labels and narratives',
			'./seed-highlights': 'Label unusually large countable swings',
			'./seed-primitive-story': 'Label primitive add/remove/combine commits',
			'./record-version': 'Store the published app commit for the About view',
			'./inspect-commit': 'Debug how one commit was classified',
			'./reset-ingest': 'Clear stored commit buckets before a recount',
			'./status': 'Storage fill snapshot',
		},
	}
}