Skip to content

Split agent_tools.py (1,317 LOC): extract the AST addon scanner #31

Description

@tuanle96

Extract scan_addons_source_report + its _scan_python_file/_scan_xml_file/manifest helpers from agent_tools.py into a new core module addon_scanner.py. Re-export the names from agent_tools so imports and test monkeypatches keep working (see how server.py re-exports). Add the module to the core list in .importlinter. Gates: pytest, ruff, mypy, lint-imports.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions