-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
45 lines (40 loc) · 1.19 KB
/
__init__.py
File metadata and controls
45 lines (40 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# ==============================================================================
# jsonl_snapshot/__init__.py - Compressed session-jsonl backup tool
# ==============================================================================
# Copyright (c) 2026 Michael Gardner, A Bit of Help, Inc.
# SPDX-License-Identifier: BSD-3-Clause
# ==============================================================================
"""
jsonl_snapshot - Back up Claude Code session .jsonl files into a
gitignored backup/sessions/raw/ directory with gzip compression,
SHA-256 verification, and a companion .sha256 sidecar.
Forensic-tier backup paired with session_snapshot (strategic tier).
See README.md in this directory for the full story.
"""
from .models import (
CompressionMetadata,
HashPair,
RestoreRequest,
RestoreResult,
RetentionPolicy,
SnapshotRequest,
SnapshotResult,
)
from .jsonl_snapshot import (
main,
restore_snapshot,
take_snapshot,
)
__all__ = [
"CompressionMetadata",
"HashPair",
"RestoreRequest",
"RestoreResult",
"RetentionPolicy",
"SnapshotRequest",
"SnapshotResult",
"main",
"restore_snapshot",
"take_snapshot",
]
__version__ = "1.0.0"