/** * Ports — native spectral extension. * * Helps resolve the classic "many projects on one machine" problem where * Postgres, NATS, Debezium, MinIO, Redis, etc. collide on the same ports. * * Registers three read-only/free tools: * - ports_scan list every listening TCP port + owning process * - ports_check check specific ports (status + owner + suggestion) * - ports_find_free find the first free port from a starting point * * No external dependencies. On macOS we parse `lsof`, on Linux `ss`/`netstat`, * and on Windows `netstat`. Port reservation for CI/docker is left to the * user's compose/env files; this extension is the diagnostic + allocation * layer that gives the agent the facts it needs to fix collisions. */ import type { ExtensionAPI } from "../../sdk/coding-agent/index.js"; export default function portsExtension(ext: ExtensionAPI): Promise; //# sourceMappingURL=index.d.ts.map