import { Harness } from "@stigmer/protos/ai/stigmer/agentic/session/v1/enum_pb";
/** User-facing labels for each harness option. */
export const HARNESS_LABELS = {
    native: "Stigmer",
    cursor: "Cursor",
};
/** Platform default — resolves to the native engine. */
export const DEFAULT_HARNESS = "native";
/** Convert a {@link HarnessOption} string to the proto {@link Harness} enum. */
export function toProtoHarness(h) {
    switch (h) {
        case "cursor":
            return Harness.CURSOR;
        case "native":
        default:
            return Harness.NATIVE;
    }
}
/**
 * Convert a proto {@link Harness} enum to a {@link HarnessOption} string.
 *
 * `UNSPECIFIED` and any unknown values map to `"native"`.
 */
export function fromProtoHarness(h) {
    switch (h) {
        case Harness.CURSOR:
            return "cursor";
        case Harness.NATIVE:
        case Harness.UNSPECIFIED:
        default:
            return "native";
    }
}
//# sourceMappingURL=harness.js.map