feat: build a resizable native developer workspace with console and network inspection
Verify Tessera GUI / verify (push) Failing after 7m12s

This commit is contained in:
2026-10-20 16:42:12 +08:00
parent 5f202e8347
commit d641f62116
12 changed files with 2042 additions and 301 deletions
+14 -3
View File
@@ -3,7 +3,8 @@
| Module | Responsibility |
| --- | --- |
| main.rs | Native window event loop, namespace state and API startup |
| api.rs | Code CRUD, eight-entry execution queue, worker, submission ordering and diagnostics |
| api.rs | Code CRUD, isolated expression endpoint, eight-entry worker queue, request observation and diagnostics |
| activity.rs | Bounded in-memory HTTP exchanges with marked previews and allowlisted request headers |
| endor_host.rs | Aster compilation, fresh candidate VM, bounded script/module execution, root cleanup and AST developer tree |
| endor_script.rs | Batch complete inputs for Aster's Interactive parser/compiler, retain Module entry, and rebase Aster spans to the original snapshot |
| ui_bridge.rs | Tessera UI/page payloads and bound render methods, preallocated node/page pools and native snapshot extraction |
@@ -11,10 +12,11 @@
| document.rs | Published source/AST/UI snapshot, revisions, invalidation, frame validation and display commands |
| app.rs | Window events, redraw and developer-tools input |
| scene.rs | Page and developer-tools display-list composition |
| developer_tools.rs | Aster AST tree selection and corresponding source display |
| developer_tools.rs | Console input/transcript, full Sources, Network inspector, theme, pane/scroll geometry and focus |
| sources.rs | Disconnected cloud workspace and provider boundary for listing/opening complete source files |
| display_list.rs | Rendering primitives and color representation |
| geometry.rs | Native points and rectangles |
| software_renderer.rs | Software rasterization of the display list |
| software_renderer.rs | Software rasterization and nested rectangular clipping for independently scrolling panes |
| text.rs | Shared system font discovery, shaping, real measurements, antialiased glyphs and bounded caches |
| README.md | Module map |
@@ -44,3 +46,12 @@ antialiasing and transparency. A process-wide mutex keeps font discovery, shapin
and glyph caches shared between the worker's layout and window redraw. The
256-string/512-KiB source cache and 4096-glyph/32-MiB image cache are discarded
when their budgets are exceeded. See the [project guide](../README.md) for public behavior.
The expression endpoint deliberately uses Aster's Expression entry in a fresh VM;
it has no host UI, no history replay and no published document. API observation
notifies the window for accepted and completed requests, including failures. The
worker still owns source compilation and snapshot publication. Console sends real
loopback HTTP requests on a separate client thread and reports transport failures
through the native event loop. CloudSourceProvider is an optional host-side adapter,
not a cloud service. A future network adapter should deliver cached/asynchronous
results to the workspace rather than block the native event loop during I/O.