leaseFile
uses node:path
Where a session's branch says whose it is (the client its server was for, sessionClient) and since when: in the
session's directory, which goes with the branch.
import { sessionDirFor } from "#codebase/tcmts/cli/codebase"; import path from "node:path"; export const leaseFile = (root: string, branch: string) => path.join(sessionDirFor(root, branch), "session.json")