chore: initial commit

This commit is contained in:
2026-10-22 17:07:08 +08:00
commit 0acef64f48
200 changed files with 35546 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import type {RunSnapshot} from '../../../types/bot/workflow/runtime.ts';
export type RunSummary = Omit<RunSnapshot, 'branches' | 'trigger'>;
/** Full trigger data is fetched on demand; live summaries never broadcast event payloads. */
export function summarize_run({branches, trigger, ...summary}: RunSnapshot): RunSummary {
return {...summary, trigger_available: trigger !== undefined};
}