# Host row for the wire-level LLM trace recorder. It patches globalThis.fetch
# (a real process-wide side effect, restored on unload/stop) and registers one
# prefix route on the web server. It publishes no Cordis service, so it
# belongs to the host composition plane and needs no isolate realm.
- insert:
    - id: llm-wire-trace
      name: dsh-llm-trace-plugin
      # config:
      #   maxRecords: 200        # in-memory ring-buffer size
      #   maxBodyChars: 8000000  # per-field character cap before truncation
      #   persist: true          # false = pure in-memory ring, nothing on disk
      #   maxPersistedRecords: 300
      #
      # The route path (/llm-wire-trace) is NOT configurable: it is part of the
      # host/client contract, and only the host ever read the old `routePrefix`
      # option, so setting it silently 404'd every request from the viewer.
