refactor(hooks): remove beast-mode system integration

Remove the beast-mode-system hook and all transform wiring so Copilot-specific prompt injection is fully eliminated from the runtime pipeline.
This commit is contained in:
YeonGyu-Kim
2026-02-22 01:57:22 +09:00
parent c97a0f3a2f
commit f1246ef110
9 changed files with 20 additions and 113 deletions
+5 -11
View File
@@ -1,12 +1,6 @@
import type { CreatedHooks } from "../create-hooks"
export function createSystemTransformHandler(args: {
hooks: CreatedHooks
}): (input: { sessionID: string }, output: { system: string[] }) => Promise<void> {
return async (input, output): Promise<void> => {
await args.hooks.beastModeSystem?.["experimental.chat.system.transform"]?.(
input,
output,
)
}
export function createSystemTransformHandler(): (
input: { sessionID: string },
output: { system: string[] },
) => Promise<void> {
return async (): Promise<void> => {}
}