chore: refresh README crate table + lock op-web-daemon entry

Deferred from the prior commits (both were co-edited with the concurrent actor
at the time): README's stale crate list -> accurate op-* entry-crates table
(matching the cargo:wasm-check fix), and the op-web-daemon Cargo.lock package
entry (hunk-staged to exclude the concurrent op-web-sdk changes still in flight).
This commit is contained in:
Kayshen-X 2026-06-19 18:29:41 +08:00
parent 55d6972f50
commit 3872c90289
2 changed files with 43 additions and 8 deletions

33
Cargo.lock generated
View file

@ -3390,6 +3390,39 @@ dependencies = [
"tokio", "tokio",
] ]
[[package]]
name = "op-web-daemon"
version = "0.8.0"
dependencies = [
"agent",
"anthropic-agent-sdk",
"async-trait",
"base64",
"dirs 5.0.1",
"futures",
"github-copilot-sdk",
"glam",
"jian-ops-schema",
"op-acp",
"op-ai",
"op-ai-skills",
"op-design-lint",
"op-editor-core",
"op-editor-host-core",
"op-editor-ui",
"op-host-native",
"op-mcp",
"op-orchestrator",
"op-pen-loader",
"op-process-io",
"reqwest 0.12.28",
"serde",
"serde_json",
"skia-safe",
"tokio",
"zip",
]
[[package]] [[package]]
name = "op-web-sdk" name = "op-web-sdk"
version = "0.8.0" version = "0.8.0"

View file

@ -491,15 +491,17 @@ bun run cargo:wasm-check # kickoff §1.2 wasm32 invariant
bun run cargo:deny # cargo-deny (native + wasm32 bans; CI uses cargo-deny-action@v2) bun run cargo:deny # cargo-deny (native + wasm32 bans; CI uses cargo-deny-action@v2)
``` ```
**Crate list (`crates/`):** **Entry crates (`crates/` — build targets):**
| Crate | Category | wasm32 | | Crate | Category | wasm32 |
| ----------------------- | ------------------------------------------------ | ------------------------ | | --------------- | -------------------------------------------------------------------------------- | ---------------- |
| openpencil-shell-core | Platform-free widgets + Document model | ✅ | | op-host-web | Browser bundle entry — wasm32 cdylib, renders via CanvasKit | ✅ |
| openpencil-shell-web | Browser runner (wasm32 + skia-safe-op fork) | ✅ | | op-host-native | Native host lib — WidgetHostNative + skia-safe GL backend (desktop + mobile) | ❌ (native only) |
| openpencil-shell-native | Native lib (WidgetHostNative + NativeBackend) | ❌ (compile_error guard) | | op-host-desktop | Desktop binary `openpencil-desktop` (winit + skia-safe GL) — also the `--serve-web` daemon that hosts the web bundle | ❌ (native only) |
| openpencil-desktop | Desktop binary (winit + skia-safe GL surface) | ❌ (native only) | | op-cli | `op` command-line tool | ❌ (native only) |
| wasm-libc-shim | libc / libm / libcxx shim for wasm32 skia bundle | ✅ | | op-app | Thin composition root — re-exports the per-platform host (target-gated) | ✅ / ❌ per target |
**Shared library crates:** `op-editor-core` (canonical `.op` state), `op-editor-ui` (platform-free widgets + `RenderBackend`), `op-editor-host-core` (transport-free host state machines), `op-mcp`, `op-ai`, `op-ai-skills`, `op-codegen`, `op-orchestrator`, `op-figma`, `op-git`, `op-opmerge`, `op-pen-loader`, `op-design-lint`, `op-config-store`, `op-process-io`, `op-acp`, `op-i18n`, `op-rpc-transport` — plus `op-smoke` (headless design-turn test runner). The browser bundle renders through the official CanvasKit skia WASM (loaded separately), so the retired `skia-safe-op` wasm fork + `wasm-libc-shim` no longer exist.
**Submodule:** `vendor/agent``github.com/ZSeven-W/agent-rs` (cross-product Rust agent runtime). **Submodule:** `vendor/agent``github.com/ZSeven-W/agent-rs` (cross-product Rust agent runtime).