# rye:signed:2026-04-01T04:53:30Z:bcdb6c5543f136acb6ea0601efc86b9c7f17be651748bbf50469e97ab6bcfd34:pxS5yM21JpmxhWkOZsFeYBKYb4oLc7VKnOoTR0oibCV28gooRlt237aCfwFd-tF786xNJhc_7dqEEB68dmVxAQ:6ea18199041a1ea8
version: "1.0.0"
tool_type: extractor
executor_id: null
category: rye/core/extractors/config
description: "Config extractor - extracts metadata from YAML config files"

extensions:
  - .yaml
  - .yml
  - .toml

parser: yaml/yaml

signature_format:
  prefix: "#"
  after_shebang: false

extraction_rules:
  name:
    type: filename
  category:
    type: path
    key: category
  version:
    type: path
    key: version
  description:
    type: path
    key: description
  tool_type:
    type: path
    key: tool_type
  schema_version:
    type: path
    key: schema_version

search_fields:
  name: 3.0
  description: 2.0
  category: 1.5
  content: 1.0

validation_schema:
  fields:
    name:
      required: true
      type: string
      match_filename: true
    category:
      required: true
      type: string
      match_path: true
    version:
      required: true
      type: semver
    description:
      required: false
      type: string
