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
149 changes: 139 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ members = [
"crates/client",
"crates/mcp",
"crates/text",
"crates/visual",
"crates/visual-gpu",
"apps/zeron",
]

Expand Down Expand Up @@ -54,6 +56,8 @@ zeron-client = { path = "crates/client" }
zeron-theme = { path = "crates/theme" }
zeron-mcp = { path = "crates/mcp" }
zeron-text = { path = "crates/text" }
zeron-visual = { path = "crates/visual" }
zeron-visual-gpu = { path = "crates/visual-gpu" }

# CRDT
loro = "1.13"
Expand Down Expand Up @@ -170,6 +174,13 @@ opt-level = 0
[profile.dev.package."*"]
opt-level = 2

# Scenes rasterize in software every frame the camera moves.
[profile.dev.package.zeron-visual]
opt-level = 3

[profile.dev.package.zeron-visual-gpu]
opt-level = 3

# Mobile core (scripts/ios/build-core.sh). Always optimized — layout and sync
# run on the phone's hot paths, so even Debug app builds link an -O core.
[profile.mobile]
Expand Down
6 changes: 6 additions & 0 deletions apps/ios/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ ZeronShared/ Compiled into the app and the extension: the activity's
paints runs with CoreText at the Rust coordinates — measurement and
rendering can't disagree. Display models for rows beyond the viewport are
prefetched off the main thread.
5. Agent visuals (`show_visual` Luau scripts) get a worker thread each
(`crates/mobile/src/visual`): it runs the script, lays the node tree out,
draws canvases and charts as vector paint, renders scenes and shaders with
wgpu, and reports its height back to the row. `VisualView` paints what
arrives (rasterized on the worker thread) and forwards touches; the demo's
"Agent visuals" chat (`-demo -route chat:chat-visuals`) has one of each.

## Launch arguments

Expand Down
Loading
Loading