feat: render top-level Endor scripts through embedded Aster
Verify Tessera GUI / verify (push) Failing after 6m52s

This commit is contained in:
2026-10-20 13:47:29 +08:00
parent 8cb2bf8607
commit 47ab2aa3a6
14 changed files with 695 additions and 89 deletions
+8 -4
View File
@@ -1,11 +1,15 @@
# Endor UI examples
[hello.endor](hello.endor) returns a native UI tree using an ordinary helper
function and `main`. It covers text, a rounded rectangle, row/column layout and
spacing. Submit it as the UTF-8 body of a namespace PUT request; no namespace,
| File | Purpose |
| --- | --- |
| [page.endor](page.endor) | Four top-level statements construct text, a rectangle and a page, then call page.render; no main wrapper. |
| [main.endor](main.endor) | The earlier function-entry form, producing the same frame as page.endor. |
| [hello.endor](hello.endor) | Richer function-entry example covering a helper, Row/Column and Spacer. |
Submit a file as the UTF-8 body of a namespace PUT request. No namespace,
scene, render block or imports belong in the source.
The live `/agent` guide embeds this exact example. Remote CI executes it through
The live `/agent` guide embeds page.endor exactly. Remote CI executes the examples through
Aster and checks the resulting coordinates and source ranges after VM cleanup.
The file is client-side sample material; Tessera's API stores source by namespace.