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:
1 parent
b00932d047
commit
1656a94811
56 files changed
+12203
-588
No files matched your search
@@ -225,10 +225,16 @@ def test_guard_blocks_and_audit_preserves_native_payload(
|
||||
guard = managed_handler(hooks, "PreToolUse", "guard.py")
|
||||
audit = managed_handler(hooks, "PostToolUse", "hook.py")
|
||||
assert guard is not None and audit is not None
|
||||
write_json(fixture.agent_dir / "status-cache.json", {
|
||||
"status": "frozen",
|
||||
"cached_at": time.time(),
|
||||
})
|
||||
status_cache_path = fixture.agent_dir / "status-cache.json"
|
||||
write_json(
|
||||
status_cache_path,
|
||||
{
|
||||
"status": "frozen",
|
||||
"cached_at": time.time(),
|
||||
},
|
||||
)
|
||||
if os.name != "nt":
|
||||
status_cache_path.chmod(0o600)
|
||||
pre_payload = {
|
||||
"session_id": "session-1",
|
||||
"transcript_path": str(fixture.home_dir / "transcript.jsonl"),
|
||||
|
||||
Reference in new issue
Block a user