<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Pipecircuit worker starter</title>
<style>
body { font: 1.1rem system-ui; max-width: 40rem; margin: 10vh auto; padding: 1rem; }
button { font: inherit; padding: .6rem 1rem; margin-right: .5rem; }
output { display: block; margin-top: 1rem; }
</style>
</head>
<body>
<h1>One authority, in a worker</h1>
<p>Activate the latch. Ask again and its Rust state machine remembers.</p>
<button id="activate" type="button">Activate</button>
<button id="disconnect" type="button">Disconnect</button>
<output id="status" aria-live="polite">Ready to send</output>
<script type="module" src="/src/main.ts"></script>
</body>
</html>