{% extends "_shared/base.toml.j2" %}

{% block header_comment %}# Plugin host package configuration{% endblock %}

{% set is_plugin_host = true %}

{% block additional_config %}
# Plugin host specific configuration
[plugin.options]
auto_discovery = {{ auto_discovery | default(true) | lower }}
lazy_loading = {{ lazy_loading | default(true) | lower }}
namespace_imports = {{ namespace_imports | default(true) | lower }}
{% endblock %}

[project]
# List of packages to initialize
packages = [
    "{{ name }}"  # Plugin host package name
]

# Refers to the plugin host package (this package will be the plugin host)
plugin_host = "{{ name }}"

# Output directory (optional, defaults to current directory)
output_dir = "."

[author]
name = "{{ author_name }}"
email = "{{ author_email }}"
github_username = "{{ github_username }}"

[package]
description = "{{ description }}"
min_python = "3.10"
license = "MIT"
development_status = "4 - Beta"

[package.options]
include_cli = true        # Include CLI boilerplate
include_logging = true    # Include logging setup
use_pydantic = true      # Use Pydantic for data validation
use_rich = true          # Use Rich for terminal output

[features]
mkdocs = false           # Enable MkDocs documentation
vcs = true              # Initialize Git repository
github_actions = true   # Add GitHub Actions workflows 