From d29ee5ce4627352fdd07ebf94de097d4568d3f17 Mon Sep 17 00:00:00 2001 From: Michael Freno Date: Fri, 2 Oct 2026 22:47:58 -0400 Subject: [PATCH] remove session_start startup notify The "Pygienium loaded. Run /pygienium-help..." banner fired on every session start. Drop it along with the PYGIENIUM_STARTUP_HINT constant and the ExtensionContext/SessionStartEvent imports it alone consumed. --- src/index.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/index.ts b/src/index.ts index a665044..2a1a2c3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -26,9 +26,7 @@ import { homedir } from "node:os"; import type { ExtensionAPI, ExtensionCommandContext, - ExtensionContext, MessageRenderer, - SessionStartEvent, } from "@earendil-works/pi-coding-agent"; import { Box, Text } from "@earendil-works/pi-tui"; import "./checks/all.js"; @@ -40,10 +38,6 @@ import { } from "./phases.js"; import type { AgentSessionEvent } from "@earendil-works/pi-coding-agent"; -/** Startup hint mirrored after piolium's convention. */ -export const PYGIENIUM_STARTUP_HINT = - "Pygienium loaded. Run /pygienium-help for available checks and flags."; - /** Custom message type for the live tool-event stream (mirrors piolium-stream). */ export const PYGIENIUM_STREAM = "pygienium-stream"; @@ -419,12 +413,4 @@ export default async function pygieniumExtension( }, }); }); - - pi.on( - "session_start", - async (_event: SessionStartEvent, ctx: ExtensionContext) => { - if (!ctx.hasUI) return; - ctx.ui.notify(PYGIENIUM_STARTUP_HINT, "info"); - }, - ); }