mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-25 10:37:11 -06:00
A command whose journal append fails now returns EngineError::NotSaved
("saved in memory but not written to disk: <reason>; LightCraft will retry")
instead of OK. The change stays applied and undoable, its ops stay queued and
are written by the next save (any command, or the frame loop with a 2 s
backoff). Queries and commands that change nothing are unaffected; a failed
compaction is reported in lastError, not as a failed command (and a failed
synchronous snapshot now backs off like a background one).
Session::unsaved(), library.info unsavedOps/unsavedError, ui.inspect unsaved;
the desktop UI toasts the failure and shows a warning on the top bar's cloud
icon until a save succeeds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
36 lines
1.1 KiB
TOML
36 lines
1.1 KiB
TOML
[package]
|
|
name = "lightcraft-engine"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "LightCraft engine: session, command registry, history, render jobs, view-models (L4)"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
lightcraft-geom = { workspace = true }
|
|
lightcraft-color = { workspace = true }
|
|
lightcraft-raster = { workspace = true }
|
|
lightcraft-develop = { workspace = true }
|
|
lightcraft-scenes = { workspace = true }
|
|
lightcraft-pipeline = { workspace = true }
|
|
lightcraft-gpu = { workspace = true }
|
|
lightcraft-catalog = { workspace = true }
|
|
web-time = { workspace = true }
|
|
lightcraft-preview = { workspace = true }
|
|
lightcraft-codecs = { workspace = true }
|
|
lightcraft-raw = { workspace = true }
|
|
lightcraft-meta = { workspace = true }
|
|
miniz_oxide = { workspace = true }
|
|
lightcraft-merge = { workspace = true }
|
|
rayon = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
log = { workspace = true }
|
|
ab_glyph = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
libc = { workspace = true }
|