Fork Horse repository, listed by its owner. Publisher snapshot.
packages/forkhorse-core/src/packets.ts
Snapshot at 34e3175
1import type { Packet } from "./workflow-types";
2import { publicPacket as racePacket } from "./race-entrants";
3
4/** Legacy packets remain active; normalize on read without rewriting history. */
5export function publicPacket(packet: Omit<Packet, "archived"> & Partial<Pick<Packet, "archived">>): Packet {
6 return racePacket({ ...packet, archived: packet.archived ?? null });
7}
8