char-slop/berry
multipurpose self-modifiable agentic harness
git clone https://git.t4t.associates/char-slop/berry
e6df845
main
1import aftercare from "@char/aftercare/vite" ; 2import deno from "@deno/vite-plugin" ; 3import { defineConfig } from "vite" ; 4 5const backend = `http://127.0.0.1: ${ Deno . env . get ( "BERRY_PORT" ) ?? 8787 } ` ; 6 7export default defineConfig ({ 8cacheDir :"../node_modules/.vite" , 9plugins :[ deno (), aftercare ()], 10server :{ 11// the app imports @berry/api, from outside web/ 12fs :{ allow :[ ".." ] }, 13proxy :{ 14"/api" :backend , 15"/ext" :backend , 16"/ws" :{ target :backend . replace ( "http" , "ws" ), ws :true }, 17}, 18}, 19});