forked from 1b-agent/opencadstudio-upstream
Opening a drawing no longer drops entities with its own sanity checks or rewrites knotless splines; recovery runs the codec's repair and records its actions and unresolved issues in the drawing's notifications. Xref merges keep every entity. The dropped-entity counts, their command-line warnings, recovery report rows and the automation "purged" field go with the guard. AUDIT now reports the codec's audit (counts plus the first 50 issues) and asks whether to fix; Yes applies the codec repair as one undo step. Cargo: codec 325fa98, kernel dfca391, graph 5d4e713. Co-Authored-By: Claude Opus 5.5 <[email protected]>
22 lines
630 B
TOML
22 lines
630 B
TOML
[package]
|
|
name = "ocs_web_worker"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
codec = { package = "opencadcodec", git = "https://github.com/HakanSeven12/opencadcodec.git", rev = "325fa98", features = ["serde"] }
|
|
bincode = "1.3"
|
|
serde = { version = "1", features = ["derive"] }
|
|
console_error_panic_hook = "0.1"
|
|
getrandom = { version = "0.3", features = ["wasm_js"] }
|
|
js-sys = "0.3"
|
|
# Shared save serialization + worker wire format (one implementation for both
|
|
# this worker and the app's inline fallback).
|
|
ocs_save = { path = "../ocs_save" }
|
|
sha2 = "0.10"
|
|
wasm-bindgen = "0.2"
|