# Test-only composition: session-telemetry-otel through the real Loader/app
# path, exporting to the mock OTLP collector the driver starts (url via env).
# The redact-rule entry models a deployment mounting its own scrub rule on the
# telemetry/record waterfall — the seam itself ships no rules.
- id: cli-mock-llm
  name: './cli-mock-llm.ts'

- id: telemetry-redact-rule
  name: './telemetry-redact-rule.ts'

# Managed child-process groups required by the bash executor.
- id: subprocess
  name: '@deepseek-ai/dsh-subprocess-local'

- id: bash
  name: '@deepseek-ai/dsh-bash-local'

- id: telemetry-otel
  name: '@deepseek-ai/dsh-session-telemetry-otel'
  config:
    exporter:
      url: !!js process.env.DSH_TELEMETRY_E2E_URL

- id: cli-agent
  name: '@deepseek-ai/dsh-cli-demo'
  config:
    provider: cli-mock
    model: cli-mock
    persona: 'Test the session-telemetry-otel plugin.'
    persistenceRoot: './.sessions'
    persistenceCompression: 'none'
    workspaceContext: false
