Files
Jan Tomášek 0d2824da4c Add local socket API and migrate administration skills
Start a permission-restricted Unix JSON socket alongside the WebUI, with
file-discovered core/plugin handlers and a standard-library CLI. Reuse
explicit JSON API operations for local administration and plugin workflows.

Allow long operations without a default execution deadline, configure JSON
and transfer limits, and keep blocking operations off the transport loop.
Preserve HTTP authentication, multipart behavior, RFC, and startup/update
health probes.

Validation: 44 socket/adapter tests and 8 plugin compatibility tests pass;
syntax, handler mapping, skill examples and DOX checks pass. Full WebUI
integration was unavailable without installed framework dependencies.
2026-11-18 15:31:36 +01:00

10 lines
335 B
Python

import sys
from pathlib import Path
# Keep file-discovered API/socket handlers out of pytest collection.
collect_ignore_glob = ["api/*_test.py", "plugins/*/api/test_*.py", "socket/test_*.py", "plugins/*/socket/test_*.py"]
_tests = str(Path(__file__).resolve().parent / "tests")
if _tests not in sys.path:
sys.path.append(_tests)