An open-source, faster Devin alternative
TypeScript
Computer: the pixel scene takes whichever area setup leaves empty
Slack U06H7D98X40d92d265eb95d
diff --git a/web/src/managed-agents/Computer.tsx b/web/src/managed-agents/Computer.tsxindex 4a1341ab..8659f0ef 100644--- a/web/src/managed-agents/Computer.tsx+++ b/web/src/managed-agents/Computer.tsx@@ -260,7 +260,7 @@ function WithDeveloperFooter({ children }: { children: ReactNode }) {// Fills the viewport below the top bar; the footer then runs into main's// bottom padding so it sits on the window's edge.<div className="flex min-h-[calc(100svh-6.5rem)] flex-col md:min-h-[calc(100svh-7rem)]">- <div className="flex-1">{children}</div>+ <div className="flex flex-1 flex-col">{children}</div>{/* Built like the sidebar's profile block (border, py-3, a 40px row)so the two rules line up. */}<footer className="text-muted-foreground mt-16 -mb-6 border-t py-3 text-xs">@@ -612,11 +612,13 @@ function Setup({hello: false,}const slack = slackLinks(status.slack)+ // The last step holds the most; the others leave the bottom free.+ const stepsRunLong = step === 'hello'const progress = (id: SetupStep): SetupItemState =>id === step ? 'current' : done[id] ? 'done' : 'upcoming'return (<WithDeveloperFooter>- <div className="space-y-6">+ <div className="flex flex-1 flex-col gap-6">{notice}<header className="max-w-2xl"><div className="flex items-center justify-between gap-4">@@ -673,9 +675,19 @@ function Setup({) : null}{/* The steps and their context share a row, so the two cards' top- edges line up by construction. */}- <div className="grid gap-x-12 gap-y-14 lg:grid-cols-[minmax(0,42rem)_18rem] lg:items-start">- <ol className="bg-panel divide-y overflow-hidden rounded-xl border shadow-sm">+ edges line up by construction. The scene takes the area left+ empty: the whole bottom row while the steps are short, the column+ under the context once the last step runs long. The bottom row+ grows to the footer, and the scene stands on its floor. */}+ <div+ className={cn(+ 'grid flex-1 gap-x-12 gap-y-10 lg:grid-cols-[minmax(0,42rem)_18rem] lg:grid-rows-[auto_1fr]',+ stepsRunLong+ ? "lg:[grid-template-areas:'steps_context'_'steps_scene']"+ : "lg:[grid-template-areas:'steps_context'_'scene_scene']",+ )}+ >+ <ol className="bg-panel divide-y self-start overflow-hidden rounded-xl border shadow-sm lg:[grid-area:steps]"><SetupItemnumber={1}title="Add OpenComputer to Slack"@@ -746,7 +758,12 @@ function Setup({</p></SetupItem></ol>- <SetupContext step={step} />+ <SetupContext step={step} className="lg:[grid-area:context]" />+ <PixelScene+ asleep={step === 'slack'}+ shape={stepsRunLong ? 'compact' : 'wide'}+ className="hidden self-end lg:block lg:[grid-area:scene]"+ /></div></div></WithDeveloperFooter>@@ -757,9 +774,18 @@ function Setup({* Why each step matters, beside the steps: quiet, never a call to action* (Igor, 2026-10-13: setup lost the what and the why).*/-function SetupContext({ step }: { step: SetupStep }) {+function SetupContext({+ step,+ className,+}: {+ step: SetupStep+ className?: string+}) {return (- <aside aria-label="About your computer" className="relative text-sm">+ <aside+ aria-label="About your computer"+ className={cn('relative self-start text-sm', className)}+ >{step === 'slack' ? (<><ContextHeading>How it works</ContextHeading>@@ -794,7 +820,6 @@ function SetupContext({ step }: { step: SetupStep }) {</ul></>)}- <PixelScene asleep={step === 'slack'} className="mt-12" /></aside>)}diff --git a/web/src/managed-agents/pixel-scene.tsx b/web/src/managed-agents/pixel-scene.tsxindex 8a0602a9..7d68e22b 100644--- a/web/src/managed-agents/pixel-scene.tsx+++ b/web/src/managed-agents/pixel-scene.tsx@@ -38,9 +38,44 @@ const CACTUS: Sprite = [const CLOUD: Sprite = ['..####..', '.######.', '########']const ZED: Sprite = ['###', '..#', '.#.', '###']-const WIDTH = 72-const HEIGHT = 24-const GROUND = 21+const SMALL_CACTUS: Sprite = ['.#.', '##.', '.##', '.#.', '.#.']++/**+ * Two compositions at about the same pixel size: a panorama for a whole+ * bottom row, and a taller one for a single column.+ */+const SHAPES = {+ wide: {+ width: 240,+ height: 26,+ monitorX: 10,+ clouds: [+ { x: 58, y: 4, drift: -6, dur: 40 },+ { x: 118, y: 9, drift: 5, dur: 55 },+ { x: 186, y: 2, drift: -4, dur: 48 },+ ],+ cacti: [+ { sprite: CACTUS, x: 148 },+ { sprite: SMALL_CACTUS, x: 156 },+ { sprite: CACTUS, x: 214 },+ ],+ pebbles: [3, 24, 37, 52, 71, 90, 104, 131, 163, 177, 196, 228, 236],+ },+ compact: {+ width: 64,+ height: 44,+ monitorX: 4,+ clouds: [+ { x: 28, y: 4, drift: -5, dur: 40 },+ { x: 6, y: 13, drift: 4, dur: 55 },+ ],+ cacti: [+ { sprite: CACTUS, x: 46 },+ { sprite: SMALL_CACTUS, x: 54 },+ ],+ pebbles: [3, 11, 19, 30, 41, 58],+ },+} as constfunction Pixels({sprite,@@ -96,43 +131,37 @@ function useReducedMotion(): boolean {*/export function PixelScene({asleep,+ shape,className,}: {asleep: boolean+ shape: keyof typeof SHAPESclassName?: string}) {const still = useReducedMotion()- const monitorX = 6- const monitorY = GROUND - MONITOR.length+ const { width, height, monitorX, clouds, cacti, pebbles } = SHAPES[shape]+ const ground = height - 3+ const monitorY = ground - MONITOR.lengthreturn (<svg- viewBox={`0 0 ${WIDTH} ${HEIGHT}`}+ viewBox={`0 0 ${width} ${height}`}shapeRendering="crispEdges"className={cn('text-foreground/15 w-full fill-current', className)}aria-hidden>- <Pixels sprite={CLOUD} x={34} y={2}>- {still ? null : (- <animateTransform- attributeName="transform"- type="translate"- values="0 0; -6 0; 0 0"- dur="40s"- repeatCount="indefinite"- />- )}- </Pixels>- <Pixels sprite={CLOUD} x={54} y={6}>- {still ? null : (- <animateTransform- attributeName="transform"- type="translate"- values="0 0; 5 0; 0 0"- dur="55s"- repeatCount="indefinite"- />- )}- </Pixels>+ {clouds.map((cloud) => (+ <Pixels key={cloud.x} sprite={CLOUD} x={cloud.x} y={cloud.y}>+ {still ? null : (+ <animateTransform+ attributeName="transform"+ type="translate"+ values={`0 0; ${cloud.drift} 0; 0 0`}+ dur={`${cloud.dur}s`}+ repeatCount="indefinite"+ />+ )}+ </Pixels>+ ))}<Pixels sprite={MONITOR} x={monitorX} y={monitorY} />{asleep ? (@@ -175,15 +204,22 @@ export function PixelScene({</>)}- <Pixels sprite={CACTUS} x={50} y={GROUND - CACTUS.length} />+ {cacti.map((cactus) => (+ <Pixels+ key={cactus.x}+ sprite={cactus.sprite}+ x={cactus.x}+ y={ground - cactus.sprite.length}+ />+ ))}{/* The ground: a line with a few pebbles, Chrome-dino style. */}- <rect x={0} y={GROUND} width={WIDTH} height={1} />- {[3, 11, 19, 30, 41, 47, 58, 66].map((x, i) => (+ <rect x={0} y={ground} width={width} height={1} />+ {pebbles.map((x, i) => (<rectkey={x}x={x}- y={GROUND + 2 + (i % 2)}+ y={ground + 1 + (i % 2)}width={i % 3 ? 1 : 2}height={1}/>