← Public packages
@kentcdodds/cloudflare-connect-pse-hyperframes
I Built Your Personal Software Ecosystem: Kent C. Dodds's Cloudflare Connect 2026 talk deck, built with HyperFrames. How Kody gives every user one of everything on Cloudflare.
Files
<section data-id="worker-loader" data-label="Worker Loader" class="slide wl">
<style>
.wl .center-code { padding-bottom: 10px; }
.wl .code { font-size: 36px; line-height: 1.48; padding: 44px 64px; }
.wl .code .ln { opacity: 0.6; }
.wl .code .ln.on { opacity: 1; }
.wl .code .gap { height: 0.6em; }
</style>
<h2 data-enter>Worker Loader</h2>
<div class="center-code" data-enter>
<pre class="code"><span class="ln"><span class="c">// worker.ts</span></span><span class="ln"><span class="k">const</span> modules = {</span><span class="ln"> <span class="s">"executor.js"</span>: codeExecutor,</span><span class="ln"> <span class="s">"entry.ts"</span>: bundledCode,</span><span class="ln">}</span><span class="ln gap"></span><span class="ln on"><span class="k">const</span> isolate = <span class="hl">env.LOADER</span></span><span class="ln on"> .<span class="hl"><span class="f">get</span>(workerId, () => ({ modules }))</span></span><span class="ln"> .<span class="f">getEntrypoint</span>()</span><span class="ln gap"></span><span class="ln on"><span class="k">const</span> { result } = <span class="k">await</span> <span class="hl">isolate.<span class="f">evaluate</span>({ kody: capabilities })</span></span></pre>
</div>
<p class="brand">kody.codes</p>
<aside class="notes">
worker.ts on the host. modules is the isolate wrapper plus the bundled user graph. LOADER
is the Worker Loader binding. get returns the Dynamic Worker, and getEntrypoint is the
isolate. capabilities is the map on one kody object, and evaluate injects it: emailSend,
secretList and the rest. Inside the isolate, executor.js wraps kody in a Proxy, so every
kody.* call dispatches back to the host. Steal @cloudflare/codemode and
@cloudflare/worker-bundler.
</aside>
</section>