index.html holds the interface. kit.yaml identifies the app and its web service. app pack embeds that HTML in the generated compose.yaml so a new commit can deploy without a separate image build. Commit all three files when sharing it on GitHub. An app with a backend can bring its own Compose file and published images.
Read another app from Home
The parent sends{type:"your-space:home:ready",version:1} to the selected frame at its exact origin. In the child, check that event.source === window.parent, remember that sender origin, then use the same origin as the target of each message. Each request carries a unique requestId and version:1. Check the parent window, origin, version and matching request ID when receiving a reply.
Replies have type
your-space:home:result, the matching request ID and either ok:true,result or ok:false,error. See the generated index.html for a complete example. The server uses the current owner selection, installation identities and read grants for every call. App credentials stay on the server. Routes requiring approval remain available through the separate agent approval flow.