opened

tcmts.share.opened · #44mzed2z · term · runs anywhere

The codebase the app shows, opened once: the one TCM_SHARE_CODEBASE names (tcm serve's), or the app's own.

import type { Codebase } from "#codebase/tcmts/cli/codebase";
import type { ShareCache } from "#codebase/tcmts/share";

export const opened = new Map<string, { cb: Codebase; cache: ShareCache }>()

uses

used by