import { projectRef } from "@/lib/projects"; import { refuseCaller } from "@/lib/report/caller"; import { StaleToken, StructureRefused } from "@/lib/report/manifest.mjs"; import { insertTakeEntry, moveTakeEntry, removeTakeEntry, takeToken, undoTakeEdit } from "@/lib/report/takeEdit.mjs"; import { resolveTakeManifest } from "@/lib/report/takeManifest.mjs"; import { isTakeId } from "@/lib/report/takes.mjs"; import { takeEditDeprecation } from "@/lib/report/takeDeprecation.mjs"; export const dynamic = "force-dynamic"; // A TAKE'S TIMELINE, walked (lib/report/takeEdit.mjs; the CLI twin is // `umtool timeline

--take move|remove|undo`). The writes go into the // take's patch (takes//take.json), each with an undo point of the take's // own; the project's manifest is never written here. // // POST { project, take, token?, op, ... } // move { id, toIndex, at? } toIndex is the index AFTER the move // remove { id, at? } // undo {} the take's newest edit taken back // insert { afterId: id | null, entry: "/