refactor(integrations): shared agent plugin runtimes and native adapters (#7203)

This commit is contained in:
Kartik
2026-09-08 23:32:25 +05:30
committed by GitHub
parent dae67f74f5
commit 73e7b8763a
369 changed files with 31056 additions and 20464 deletions
@@ -1,7 +1,20 @@
"""Keep the test suite from sending usage telemetry to the live PostHog project."""
"""Configure harness identity and disable live telemetry for the test suite."""
from __future__ import annotations
import os
import sys
from pathlib import Path
os.environ["MEM0_TELEMETRY"] = "false"
HOST_ROOT = Path(__file__).resolve().parents[1]
_core = HOST_ROOT / "core"
sys.path.insert(0, str(_core))
import hook_runner # noqa: E402,F401
from memory_core import configure_harness # noqa: E402
import telemetry # noqa: E402
configure_harness("claude-code", data_dir_name="claude-code-plugin", source_tag="claude_code_plugin")
telemetry.init(harness="claude-code", source_tag="CLAUDE_CODE_PLUGIN")