Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
265 changes: 256 additions & 9 deletions Cargo.lock

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions assets/icons/line/settings.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 18 additions & 1 deletion crates/sl-viewer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,28 @@ rusqlite = { version = "0.40", optional = true }
zstd = { version = "0.13", optional = true }
wasm-bindgen = { version = "0.2", optional = true }
web-sys = { version = "0.3", optional = true, features = ["Document", "Element", "Event", "EventSource", "HtmlElement", "KeyboardEvent", "Location", "MessageEvent", "UrlSearchParams", "Window"] }
# parquet feature: ingest Claude conversation parquet exports under ~/.claude/projects.
# Uses the row-based API (no arrow) for minimal dependency footprint.
parquet = { version = "59", optional = true, default-features = false, features = ["snap", "zstd", "brotli", "flate2-zlib-rs", "lz4", "base64", "simdutf8", "crc"] }
# Native folder-picker dialog for the "Pick folder…" affordance (desktop only).
# Uses `rfd`'s cocoa backend on macOS, native Win32 dialogs on Windows, and
# the XDG-portal/GTK3 stack on Linux. Default features are required on
# Linux so the dialog can talk to a portal service.
rfd = { version = "0.17", optional = true }
# Resolve the platform config directory for persisted corpus paths.
dirs = "6"

[dev-dependencies]
rusqlite = "0.40"
zstd = "0.13"
tempfile = "3"
# Pull parquet into the test build so fixture writers and unit tests can exercise
# the parquet source even when the production `parquet` feature is disabled.
parquet = { version = "59", default-features = false, features = ["snap", "zstd", "brotli", "flate2-zlib-rs", "lz4", "base64", "simdutf8", "crc"] }

[features]
default = ["desktop"]
desktop = ["dioxus/desktop", "dep:reqwest", "dep:tokio", "dep:tokio-util", "dep:futures-util", "dep:chrono", "compressed-sessions"]
desktop = ["dioxus/desktop", "dep:reqwest", "dep:tokio", "dep:tokio-util", "dep:futures-util", "dep:chrono", "dep:rfd", "compressed-sessions"]
compressed-sessions = ["dep:zstd", "session-ledger/compress"]
web = ["dioxus/web", "dep:reqwest", "dep:futures-util", "dep:js-sys", "dep:wasm-bindgen", "dep:web-sys"]
# Enable loading real Forge SQLite sessions in the viewer.
Expand All @@ -39,6 +52,10 @@ sqlite = [
"dep:zstd",
"session-ledger/sqlite",
]
# Enable ingesting Claude conversation parquet exports (e.g. files dropped under
# `~/.claude/projects/*.parquet`). Without this feature, parquet files are
# silently skipped by the auto-discovery loader.
parquet = ["dep:parquet"]

[lints.rust]
unsafe_code = "forbid"
Expand Down
Loading
Loading