| 1 | // Package tinyclient renders relay HTML pages and browser support modules. |
| 2 | // |
| 3 | // App owns the HTTP surface, templates, page data and browser assets. It asks |
| 4 | // Backend for relay identity, policy and method results, and uses ActorResolver |
| 5 | // to associate a request with the authenticated public key. The daemon owns |
| 6 | // relay policy and relay writes. |
| 7 | // |
| 8 | // New embeds the client with a local Backend. NewRemote renders against a |
| 9 | // relay's authenticated HTTP backend contract and proxies data protocols. |
| 10 | // |
| 11 | // Pages use a shared shell in page.html. The shell supplies the navigation rail, |
| 12 | // content column, contextual panel and command footer. Each page template |
| 13 | // supplies one content section and remains readable when scripts are disabled. |
| 14 | // JavaScript modules progressively add signing, navigation, forms, components, |
| 15 | // room streams, file transfers and WebMCP controls. |
| 16 | package tinyclient |