This commit is contained in:
omp-port
2026-10-02 22:48:16 -04:00
parent c080ebcd1e
commit 350ca5435a
2 changed files with 35 additions and 14 deletions

View File

@@ -26,9 +26,7 @@ import { homedir } from "node:os";
import type {
ExtensionAPI,
ExtensionCommandContext,
ExtensionContext,
MessageRenderer,
SessionStartEvent,
} from "@oh-my-pi/pi-coding-agent";
import { Box, Text } from "@oh-my-pi/pi-tui";
import "./checks/all.js";
@@ -40,10 +38,6 @@ import {
} from "./phases.js";
import type { AgentSessionEvent } from "@oh-my-pi/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";
@@ -418,12 +412,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");
},
);
}