/**
 * Shared types for the feedback pipeline on the MCP side.
 *
 * These mirror `services/agent-site/netlify/lib/types.ts` so the local and
 * HTTP transports project to structurally-identical status responses. Keeping
 * them re-declared rather than cross-imported preserves the clean boundary
 * between the MCP server and the Netlify service.
 */
export function resolveTransportKind(env = process.env) {
    const explicit = (env.NEOTOMA_FEEDBACK_TRANSPORT ?? "").toLowerCase();
    if (explicit === "local" || explicit === "http")
        return explicit;
    if (env.AGENT_SITE_BASE_URL)
        return "http";
    return "local";
}
export function autoSubmitSuppressed(env = process.env) {
    const raw = env.NEOTOMA_FEEDBACK_AUTO_SUBMIT;
    if (raw == null)
        return false;
    return raw !== "1" && raw.toLowerCase() !== "true";
}
//# sourceMappingURL=types.js.map