import { packageContext } from 'kody:runtime' const esc = (s: string) => s.replace(/[&<>"']/g, (c) => `${c.charCodeAt(0)};`) export function renderShell() { const appBase = String(packageContext?.appBasePath ?? '') const assetBase = String(packageContext?.assetBasePath ?? `${appBase}/_assets`) const clientUrl = `${assetBase}/client/main.js` const html = `