char-slop/berry

multipurpose self-modifiable agentic harness

git clone https://git.t4t.associates/char-slop/berry

Charlotte Sominitial commite6df845

main
468 B13 linesraw
1// The modules the app and every extension's web bundle share: one instance each, so that, say, a signal the app
2// hands a renderer is the same `Signal` the renderer's jsx checks for.
3
4export const HOST_MODULES = [
5  "@char/aftercare",
6  "@char/aftercare/jsx-runtime",
7  "@berry/api/web.ts",
8] as const;
9
10export type HostModule = (typeof HOST_MODULES)[number];
11
12/** Where the app puts them, for extension bundles to read. */
13export const HOST_GLOBAL = "__berryHost";