Skip to content
← 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.

FollowForkOpen app

Files

07-code-composes.html

25 lines · 1.3 KB · HTML
<section data-id="code-composes" data-label="Code composes" class="slide composes">
	<style>
		.composes .code { font-size: 40px; padding: 48px 60px; }
		.composes .spec { border-radius: 8px; }
	</style>
	<h2 data-enter>Code composes</h2>
	<div class="center-code" data-enter>
		<pre class="code"><span class="k">import</span> bondAreaShades <span class="k">from</span>
  <span class="s spec">"kody:@kentcdodds/home-controls/bond-area-shades"</span>
<span class="k">import</span> runMorningBriefing <span class="k">from</span>
  <span class="s spec">"kody:@kentcdodds/morning-briefing"</span>

<span class="k">export default async function</span> <span class="f">main</span>() {
  <span class="k">await</span> <span class="f">bondAreaShades</span>({ area: <span class="s">"back"</span>, action: <span class="s">"close"</span> })
  <span class="k">return</span> <span class="f">runMorningBriefing</span>({ dryRun: <span class="k">true</span> })
}</pre>
	</div>
	<p class="brand">kody.codes</p>
	<aside class="notes">
		Publish an export and anyone with access imports it. Two real kody: imports:
		home-controls closes the back shades, and morning-briefing is the package every agent
		just called. Any host that can execute can compose what you already saved. Links:
		kody.codes/@kentcdodds/home-controls and kody.codes/@kentcdodds/morning-briefing.
	</aside>
</section>