/** * src/extension/index.ts — pi-subagents Pi extension entrypoint (thin adapter). * * This is the ONLY layer that knows the local pi-types.ts (invariant I9). It * registers the 5 delegation tools + the /agents, /runs, /subagents commands * immediately, and attaches the minimal HUD widget on session_start (TUI only). * All business logic lives in the Pi-free core/engine. * * Zero @earendil-works/* imports. */ import type { ExtensionAPI } from "./pi-types.js"; export default function subagentsExtension(pi: ExtensionAPI): void;