feat(plugins): isolate device integrations

This commit is contained in:
DCCONSTRUCTIONS
2026-07-17 19:29:32 +03:00
parent f9ffb7bd1c
commit 24a47318f2
122 changed files with 3304 additions and 1892 deletions
+13 -5
View File
@@ -584,12 +584,20 @@ def _source_identity(command: ReplayCommand) -> tuple[object, ...]:
identities: list[object] = [
command.session_id,
str(command.source_path),
command.replay_byte_length,
command.metadata_byte_length,
command.expected_source_sha256,
command.plugin_id,
command.primary_artifact_id,
]
for path in (command.source_path, command.source_path.with_name("mqtt.metadata.jsonl")):
for artifact in command.artifacts:
path = artifact.path
identities.extend(
(
artifact.artifact_id,
artifact.media_type,
artifact.file_byte_length,
artifact.replay_byte_length,
artifact.expected_sha256,
)
)
try:
value = os.lstat(path)
except OSError: