openlatch-provider 0.2.2

Self-service onboarding CLI + runtime daemon for OpenLatch Editors and Providers
schema_version: 1
editor:
  slug: my-editor
  display_name: My Editor
  description: |
    Replace this with a one-paragraph description of your editor —
    surfaced in the marketplace catalog.
tools:
  - slug: my-tool
    version: 0.1.0
    license: apache-2.0
    description: |
      Replace this with a one-paragraph description of what the tool detects
      and why a security team would want to enable it.
    hooks_supported:
      - pre_tool_use
    agents_supported:
      - claude-code
    capabilities:
      - threat_category: pii_outbound
        execution_mode: sync
        declared_latency_p95_ms: 80
        needs_raw_payload: false
providers:
  - slug: my-provider
    display_name: My Provider
    region: us-east-1
    total_capacity_qps: 500
    # endpoint_url is your provider's public HTTPS ingress — one per provider,
    # shared by every binding declared under it.
    endpoint_url: https://my-provider.example.com/v1/event
bindings:
  - tool: my-tool
    provider: my-provider
    # local_endpoint is the localhost route the runtime daemon proxies to.
    # The default is http://127.0.0.1:8080/event when omitted.
    local_endpoint: http://127.0.0.1:8081/event
    declared_latency_p95_ms: 80
    capacity_qps: 250
    priority: 100
    # process: tells `openlatch-provider listen` how to start and supervise
    # the tool. The daemon spawns it, waits for /healthz, restarts it on
    # crash, and tears it down when the daemon stops.
    process:
      command: ["uv", "run", "uvicorn", "my_tool:app", "--port", "8081"]
      health_check:
        http:
          port: 8081