# Test configuration file demonstrating various skip_tools functionality
plugins:
  # Plugin with exact tool name matches
  exact_match_plugin:
    url: "file:///path/to/exact_plugin"
    runtime_config:
      skip_tools:
        - "debug_tool"
        - "test_runner"
        - "deprecated_helper"

  # Plugin with wildcard patterns
  wildcard_plugin:
    url: "https://example.com/wildcard_plugin"
    runtime_config:
      skip_tools:
        - "temp_.*" # Skip any tool starting with "temp_"
        - ".*_backup" # Skip any tool ending with "_backup"
        - "debug.*" # Skip any tool starting with "debug"

  # Plugin with complex regex patterns
  regex_plugin:
    url: "http://localhost:3000/regex_plugin"
    runtime_config:
      skip_tools:
        - "tool_[0-9]+" # Skip tools like "tool_1", "tool_42"
        - "test_(unit|integration)" # Skip "test_unit" and "test_integration"
        - "[a-z]+_helper" # Skip lowercase word followed by "_helper"

  # Plugin with anchored patterns (already have anchors)
  anchored_plugin:
    url: "file:///path/to/anchored_plugin"
    runtime_config:
      skip_tools:
        - "^system_.*" # Explicit start anchor
        - ".*_internal$" # Explicit end anchor
        - "^exact_only$" # Fully anchored

  # Plugin with case-sensitive patterns
  case_sensitive_plugin:
    url: "https://api.example.com/case_plugin"
    runtime_config:
      skip_tools:
        - "Tool" # Only matches "Tool", not "tool" or "TOOL"
        - "DEBUG_.*" # Only matches uppercase DEBUG prefix
        - "CamelCase.*" # Matches tools starting with "CamelCase"

  # Plugin with special regex characters escaped
  special_chars_plugin:
    url: "file:///path/to/special_plugin"
    runtime_config:
      skip_tools:
        - "file\\.exe" # Matches "file.exe" literally
        - "script\\?" # Matches "script?" literally
        - "temp\\*data" # Matches "temp*data" literally
        - "path\\\\tool" # Matches "path\tool" literally

  # Plugin with empty skip_tools (skip nothing)
  empty_skip_plugin:
    url: "https://example.com/empty_plugin"
    runtime_config:
      skip_tools: []
      allowed_hosts:
        - "example.com"

  # Plugin with no skip_tools specified (defaults to None)
  no_skip_plugin:
    url: "file:///path/to/no_skip_plugin"
    runtime_config:
      allowed_hosts:
        - "localhost"
      memory_limit: "512MB"

  # Plugin demonstrating mixed runtime config with skip_tools
  full_config_plugin:
    url: "https://secure.example.com/full_plugin"
    runtime_config:
      skip_tools:
        - "admin_.*"
        - ".*_dangerous"
        - "system_critical"
      allowed_hosts:
        - "api.example.com"
        - "cdn.example.com"
      allowed_paths:
        - "/tmp"
        - "/var/log:/plugin/logs"
        - "/home/user/data"
      env_vars:
        ENVIRONMENT: "test"
        LOG_LEVEL: "debug"
      memory_limit: "2GB"

  # Plugin with common tool patterns to skip
  common_patterns_plugin:
    url: "file:///path/to/common_plugin"
    runtime_config:
      skip_tools:
        - ".*_test" # Skip all test tools
        - "dev_.*" # Skip all development tools
        - "mock_.*" # Skip all mock tools
        - "stub_.*" # Skip all stub tools
        - ".*_deprecated" # Skip all deprecated tools
