import { claudeCodeHandler } from "./claude-code.js";
import { cursorHandler } from "./cursor.js";
import { vscodeHandler } from "./vscode.js";
import { geminiCliHandler } from "./gemini-cli.js";
import { zedHandler } from "./zed.js";
import { windsurfHandler } from "./windsurf.js";
import { codexHandler } from "./codex.js";
import { antigravityHandler } from "./antigravity.js";
const agentHandlers = [
  claudeCodeHandler,
  cursorHandler,
  vscodeHandler,
  geminiCliHandler,
  zedHandler,
  windsurfHandler,
  codexHandler,
  antigravityHandler
];
const handlerMap = new Map(
  agentHandlers.map((h) => [h.id, h])
);
function getAgentHandler(id) {
  return handlerMap.get(id);
}
function detectInstalledHandlers() {
  return agentHandlers.filter((h) => h.detect());
}
export {
  agentHandlers,
  detectInstalledHandlers,
  getAgentHandler
};
//# sourceMappingURL=registry.js.map