feat(sync): export optional S3 adapter

This commit is contained in:
Shay 2026-05-29 19:47:24 -07:00
parent b415486c84
commit dc9e4b5b11

View file

@ -1,7 +1,8 @@
"""Edge/cloud sync contracts for CORE. """Edge/cloud sync contracts for CORE.
This package is intentionally pure at import time: no concrete object-store This package is intentionally pure at import time: no concrete object-store
client, no network dependency, and no hot-path integration. client, no network dependency, and no hot-path integration. Concrete S3 support
is optional and lazy-imports provider SDKs only when constructed.
""" """
from core.sync.activation import ActivationDecision, ActivationLedger, ActivationRecord from core.sync.activation import ActivationDecision, ActivationLedger, ActivationRecord
@ -20,6 +21,7 @@ from core.sync.journal import (
) )
from core.sync.manifest import ManifestCheck, SyncManifest, parse_manifest, validate_manifest from core.sync.manifest import ManifestCheck, SyncManifest, parse_manifest, validate_manifest
from core.sync.object_store import ObjectMetadata, ObjectNotFoundError, ObjectStore, ObjectStoreError from core.sync.object_store import ObjectMetadata, ObjectNotFoundError, ObjectStore, ObjectStoreError
from core.sync.s3_store import S3ObjectStore
__all__ = [ __all__ = [
"ARTIFACT_AUTHORITY", "ARTIFACT_AUTHORITY",
@ -38,6 +40,7 @@ __all__ = [
"ObjectNotFoundError", "ObjectNotFoundError",
"ObjectStore", "ObjectStore",
"ObjectStoreError", "ObjectStoreError",
"S3ObjectStore",
"SyncManifest", "SyncManifest",
"authority_for", "authority_for",
"parse_manifest", "parse_manifest",