lha 1.0.7

Long-Horizon Agent command-line package that installs the lha binary.
Documentation
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "definitions": {
    "ModelMetadata": {
      "additionalProperties": false,
      "properties": {
        "auto_compact_token_limit": {
          "format": "int64",
          "type": "integer"
        },
        "context_window": {
          "format": "int64",
          "type": "integer"
        },
        "display_name": {
          "type": "string"
        },
        "input_modalities": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "pricing": {
          "$ref": "#/definitions/ModelPricing"
        },
        "reasoning_effort": {
          "$ref": "#/definitions/ReasoningEffort"
        },
        "reasoning_summary": {
          "$ref": "#/definitions/ReasoningSummary"
        },
        "supports_reasoning_summaries": {
          "type": "boolean"
        },
        "supports_verbosity": {
          "type": "boolean"
        },
        "verbosity": {
          "$ref": "#/definitions/Verbosity"
        }
      },
      "type": "object"
    },
    "ModelPricing": {
      "properties": {
        "billing": {
          "$ref": "#/definitions/ModelPricingBilling"
        },
        "context_bands": {
          "items": {
            "$ref": "#/definitions/ModelPricingBand"
          },
          "type": "array"
        },
        "currency": {
          "$ref": "#/definitions/ModelPricingCurrency"
        },
        "unit": {
          "$ref": "#/definitions/ModelPricingUnit"
        }
      },
      "required": [
        "billing",
        "context_bands",
        "currency",
        "unit"
      ],
      "type": "object"
    },
    "ModelPricingBand": {
      "properties": {
        "cached_input": {
          "format": "double",
          "type": "number"
        },
        "input": {
          "format": "double",
          "type": "number"
        },
        "max_input_tokens": {
          "format": "int64",
          "type": "integer"
        },
        "min_input_tokens": {
          "format": "int64",
          "type": "integer"
        },
        "output": {
          "format": "double",
          "type": "number"
        }
      },
      "required": [
        "cached_input",
        "input",
        "output"
      ],
      "type": "object"
    },
    "ModelPricingBilling": {
      "enum": [
        "standard"
      ],
      "type": "string"
    },
    "ModelPricingCurrency": {
      "enum": [
        "USD"
      ],
      "type": "string"
    },
    "ModelPricingUnit": {
      "enum": [
        "usd_per_million_tokens"
      ],
      "type": "string"
    },
    "ModelsDialect": {
      "enum": [
        "responses",
        "chat",
        "messages"
      ],
      "type": "string"
    },
    "ModelsEndpoint": {
      "additionalProperties": false,
      "properties": {
        "base_url": {
          "type": "string"
        },
        "bearer_token": {
          "type": "string"
        },
        "dialect": {
          "allOf": [
            {
              "$ref": "#/definitions/ModelsDialect"
            }
          ],
          "default": "chat"
        },
        "env_http_headers": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "env_key": {
          "type": "string"
        },
        "env_key_instructions": {
          "type": "string"
        },
        "http_headers": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "models": {
          "additionalProperties": {
            "$ref": "#/definitions/ModelMetadata"
          },
          "default": {},
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "query_params": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "request_max_retries": {
          "format": "uint64",
          "minimum": 0.0,
          "type": "integer"
        },
        "stream_idle_timeout_ms": {
          "format": "uint64",
          "minimum": 0.0,
          "type": "integer"
        },
        "stream_max_retries": {
          "format": "uint64",
          "minimum": 0.0,
          "type": "integer"
        },
        "supports_realtime_streaming": {
          "default": false,
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "ModelsProvider": {
      "additionalProperties": false,
      "properties": {
        "endpoints": {
          "additionalProperties": {
            "$ref": "#/definitions/ModelsEndpoint"
          },
          "default": {},
          "type": "object"
        },
        "name": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "ReasoningEffort": {
      "enum": [
        "none",
        "minimal",
        "low",
        "medium",
        "high",
        "xhigh"
      ],
      "type": "string"
    },
    "ReasoningSummary": {
      "enum": [
        "auto",
        "concise",
        "detailed",
        "none"
      ],
      "type": "string"
    },
    "Verbosity": {
      "enum": [
        "low",
        "medium",
        "high"
      ],
      "type": "string"
    }
  },
  "properties": {
    "providers": {
      "additionalProperties": {
        "$ref": "#/definitions/ModelsProvider"
      },
      "default": {},
      "type": "object"
    }
  },
  "title": "ModelsJson",
  "type": "object"
}