Something went wrong. Try again.
fork of prime agent with changes i want but are not upstreamable probqbly (and some fixes)
Something went wrong. Try again.
367 B · 9 lines
TypeScript
at main
12345678910import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
export default function widgetPlacementExtension(pi: ExtensionAPI) { pi.on("session_start", (_event, ctx) => { if (!ctx.hasUI) return; ctx.ui.setWidget("widget-above", ["Above editor widget"]); ctx.ui.setWidget("widget-below", ["Below editor widget"], { placement: "belowEditor" }); });}