This commit is contained in:
IndyDevDan
2026-02-22 20:19:33 -06:00
commit 32dfe122cb
68 changed files with 8173 additions and 0 deletions

24
extensions/pure-focus.ts Normal file
View File

@@ -0,0 +1,24 @@
/**
* Pure Focus — Strip all footer and status line UI
*
* Removes the footer bar and status line entirely, leaving only
* the conversation and editor. Pure distraction-free mode.
*
* Usage: pi -e examples/extensions/pure-focus.ts
*/
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
import { applyExtensionDefaults } from "./themeMap.ts";
export default function (pi: ExtensionAPI) {
pi.on("session_start", async (_event, ctx) => {
applyExtensionDefaults(import.meta.url, ctx);
ctx.ui.setFooter((_tui, _theme, _footerData) => ({
dispose: () => {},
invalidate() {},
render(_width: number): string[] {
return [];
},
}));
});
}