# dsh-dashboard is a Web-profile bundle. Project Catalog persistence uses the
# storage-domain backend already selected by the Harness profile, so installing
# this plugin never replaces shared storage routes or registers a duplicate
# backend. The row owns both the Host plugin and the browser client declared by
# package.json#dsh.client.
- insert:
    - id: dsh-dashboard
      name: dsh-dashboard
      config:
        currentProject:
          root: .
          policyPath: WORKFLOW.md
          registerInCatalog: true
        agentProfile:
          id: default
          permissionPreset: workspace-write
          workerHost: local
        policyDefaults:
          pollingIntervalMs: 5000
          workspaceRoot: .dsh-dashboard/workspaces
          hookTimeoutMs: 60000
          maxConcurrentAgents: 10
          maxTurns: 20
          maxRetryBackoffMs: 300000
        discovery:
          roots: []
        linear:
          apiKeyRef: LINEAR_API_KEY
          endpoint: https://api.linear.app/graphql
        github:
          tokenRef: GITHUB_TOKEN
          endpoint: https://api.github.com
        jira:
          emailRef: JIRA_EMAIL
          apiTokenRef: JIRA_API_TOKEN
        asana:
          tokenRef: ASANA_ACCESS_TOKEN
          endpoint: https://app.asana.com/api/1.0
        gitlab:
          tokenRef: GITLAB_TOKEN
          endpoint: https://gitlab.com/api/v4
        local:
          storePath: ~/.dsh-dashboard/tasks.json
