sdks/python: mirror Elydora-Python-SDK 2.0.2

Rebuilt from the standalone 54e65eb tree (durable transactions, Kiro IDE
adapter, hook retry with a bounded chain lock, version 2.0.2) with the
Open-Source API trims re-applied: no token rotation, token issuance, or
agent integration updates, and the mirror's registration contract and
OpenCode plugin tests kept.

Claude-Session: https://claude.ai/code/session_01QoUjdc7HGKTsgj5GhG8HvF
This commit is contained in:
雷电芽衣 committed 2026-09-02 10:48:33 -04:00
1 parent b00932d047
commit 1656a94811
56 files changed
+12203 -588

No files matched your search

-4
View File
@@ -17,7 +17,6 @@ from elydora.plugins._file_io import write_text_atomic
from elydora.plugins import (
copilot,
cursor,
kiroide,
opencode,
)
from elydora.plugins.hook_template import generate_hook_script
@@ -373,7 +372,6 @@ def test_atomic_secret_write_preserves_existing_file_on_replace_failure(
[
(copilot, copilot.CopilotPlugin, "copilot"),
(cursor, cursor.CursorPlugin, "cursor"),
(kiroide, kiroide.KiroIdePlugin, "kiroide"),
(opencode, opencode.OpenCodePlugin, "opencode"),
],
)
@@ -402,8 +400,6 @@ def test_legacy_plugins_persist_one_owner_only_private_key(
"SETTINGS_PATH",
str(case_root / "provider" / "settings.json"),
)
elif module is kiroide:
monkeypatch.setattr(module, "KIRO_HOOK_DIR", str(case_root / "kiro-hooks"))
elif module is opencode:
monkeypatch.setattr(module, "PLUGIN_DIR", str(case_root / "plugins"))
elif module is copilot: