Something went wrong. Try again.
Monorepo for the nibling.run platform
Something went wrong. Try again.
12345678910111213141516171819202122232425262728<!doctype html><html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Code playground</title> <link rel="stylesheet" href="./playground.css" /> </head> <body> <header> <nav><a href="./docs.html">Docs</a> · <strong>Code</strong> · <a href="./kernel.html">Kernel</a></nav> <h1>Code playground</h1> <p>Two people and an agent edit one TypeScript file over a BroadcastChannel. <a href="./code.html" target="_blank">Open another tab</a> to join it.</p> </header> <section class="agent" aria-label="Agent"> <button id="agent-read" type="button">Agent reads</button> <button id="agent-write" type="button" disabled>Agent writes</button> <label><input id="agent-naive" type="checkbox" /> Naive write (ignore the version read)</label> <output id="agent-status">The agent renames <code>greet</code> to <code>welcome</code>. Read, type something, then write.</output> </section> <main> <figure><figcaption><span class="dot nib-user-0"></span>Ada</figcaption><nib-code id="ada" filename="greet.ts"></nib-code></figure> <figure><figcaption><span class="dot nib-user-1"></span>Grace</figcaption><nib-code id="grace" filename="greet.ts"></nib-code></figure> </main> <script type="module" src="./code.ts"></script> </body></html>