/** * pi-charles — Charles Proxy analysis tools for pi coding agent. * * Design: tools only fetch / filter / present data. * Reasoning stays with the agent. */ import type { ExtensionAPI } from "@earendil-works/pi-coding-agent"; import { deactivateThrottlingSilent } from "../src/client.js"; import { registerCharlesCommand } from "../src/command.js"; import { registerCharlesTools } from "../src/tools.js"; export default function (pi: ExtensionAPI) { registerCharlesTools(pi); registerCharlesCommand(pi); pi.on("session_shutdown", async () => { await deactivateThrottlingSilent(); }); }