Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python

docs: lead desktop gallery with light themes and finish in dark mode

Rach Pradhana1552e4946a6
diff --git a/README.md b/README.md
index 92fb993e..48871c1b 100644
--- a/README.md
+++ b/README.md
@@ -46,14 +46,14 @@ macOS window controls and SwiftUI Activity and computer-use panels. Coding
continues in `graff acp`; the window is a client of the same harness used by
the terminal.
-[![CodeGraff's dark desktop, framed in cobalt with workshop artwork](docs/images/desktop-chat-studio.png)](docs/images/desktop-chat-dark.png)
+[![CodeGraff's bright desktop, framed in rice paper with workshop artwork](docs/images/desktop-chat-studio.png)](docs/images/desktop-chat-light.png)
Chat tabs, searchable model selection, effort and fast controls, collapsed tool
activity, and explicit working/finished/interrupted states keep the conversation
readable. Appearance includes White, Black, Website and the official CodeGraff
palette. Mention `$gui-theme` or `@gui-theme` in the GUI to create a custom theme.
-[![CodeGraff Agents panel with local peers and a handoff request, on warm paper with the workshop crew](docs/images/desktop-agents-studio.png)](docs/images/desktop-agents-codegraff.png)
+[![CodeGraff Agents panel with local peers and a handoff request, framed in coral with the workshop crew](docs/images/desktop-agents-studio.png)](docs/images/desktop-agents-codegraff.png)
**Agents** brings Graff-to-Graff coordination into the GUI. See sessions in the
current workspace or across the laptop, their published tasks and activity,
@@ -63,7 +63,7 @@ history does not consume their inbox. The optional profiler records anonymous
per-agent resource measurements, with identities and message contents excluded
from feedback exports. See the [Agents guide](docs/agents-panel.md).
-[![CodeGraff's resizable Changes panel beside the conversation, framed in coral with a rat reviewing a proof](docs/images/desktop-review-studio.png)](docs/images/desktop-review-codegraff.png)
+[![CodeGraff's dark Changes panel beside the conversation, framed in cobalt with a rat reviewing a proof](docs/images/desktop-review-studio.png)](docs/images/desktop-review-dark.png)
**Changes** shows local staged, unstaged and untracked edits, diffs, worktrees
and recent commits. Drag its divider to give the review more room. The browser
diff --git a/apps/native/electron/performance-scenarios.cjs b/apps/native/electron/performance-scenarios.cjs
index e262f63a..e583aeca 100644
--- a/apps/native/electron/performance-scenarios.cjs
+++ b/apps/native/electron/performance-scenarios.cjs
@@ -56,10 +56,13 @@ async function runPerformance({ win: fixtureWindow, origin, output }) {
await sleep(200);
fs.writeFileSync(path.join(output, name), (await wc.capturePage()).toPNG());
};
- for (const [label, name] of [['Black', 'desktop-chat-dark.png'], ['CodeGraff', 'desktop-chat-codegraff.png']]) {
+ const chooseTheme = async label => {
await click('[aria-label="Appearance"]');
await wait(`!!document.querySelector('[aria-label="Close appearance"]')`);
await js(`[...document.querySelectorAll('[role="dialog"] button')].find(b=>b.textContent.startsWith(${JSON.stringify(label)})).click(); document.querySelector('[aria-label="Close appearance"]').click()`);
+ };
+ for (const [label, name] of [['White', 'desktop-chat-light.png'], ['Black', 'desktop-chat-dark.png'], ['CodeGraff', 'desktop-chat-codegraff.png']]) {
+ await chooseTheme(label);
await capture(name);
}
await js(`document.querySelector('[aria-label="Review workspace changes"]').click()`);
@@ -69,7 +72,12 @@ async function runPerformance({ win: fixtureWindow, origin, output }) {
await wait(`document.querySelector('[aria-label="Agents panel"]')?.textContent.includes('Refine navigation')`);
assert.ok(await js(`!!document.querySelector('.sidebar-logo [data-codegraff-mark] use')`));
await capture('desktop-agents-codegraff.png');
- await js(`document.querySelector('[aria-label="Close agents"]').click(); window.galleryBenchmark=true`);
+ await js(`document.querySelector('[aria-label="Close agents"]').click(); document.querySelector('[aria-label="Review workspace changes"]').click()`);
+ await wait(`document.querySelector('[aria-label="File diff"]')?.getAttribute('aria-busy')==='false'`);
+ await chooseTheme('Black');
+ await capture('desktop-review-dark.png');
+ await chooseTheme('CodeGraff');
+ await js(`document.querySelector('[aria-label="Close changes"]').click(); window.galleryBenchmark=true`);
console.log('Performance: stream');
profiler.mark('candidate');
await send('Stream the demonstration transcript.');
diff --git a/docs/images/desktop-agents-studio.png b/docs/images/desktop-agents-studio.png
index 9f07deb3..025d2d41 100644
Binary files a/docs/images/desktop-agents-studio.png and b/docs/images/desktop-agents-studio.png differ
diff --git a/docs/images/desktop-chat-light.png b/docs/images/desktop-chat-light.png
new file mode 100644
index 00000000..db28dce5
Binary files /dev/null and b/docs/images/desktop-chat-light.png differ
diff --git a/docs/images/desktop-chat-studio.png b/docs/images/desktop-chat-studio.png
index 47391bd1..e47b53f3 100644
Binary files a/docs/images/desktop-chat-studio.png and b/docs/images/desktop-chat-studio.png differ
diff --git a/docs/images/desktop-review-dark.png b/docs/images/desktop-review-dark.png
new file mode 100644
index 00000000..1ca0fe43
Binary files /dev/null and b/docs/images/desktop-review-dark.png differ
diff --git a/docs/images/desktop-review-studio.png b/docs/images/desktop-review-studio.png
index dc67cccd..9e76c6cd 100644
Binary files a/docs/images/desktop-review-studio.png and b/docs/images/desktop-review-studio.png differ
diff --git a/docs/media/README.md b/docs/media/README.md
index 2b2f86d3..7b71e262 100644
--- a/docs/media/README.md
+++ b/docs/media/README.md
@@ -3,7 +3,8 @@
The README uses CodeGraff's workshop artwork: black field mice in coral coats,
textured paper, ink, cobalt, and restrained editorial typography. Desktop plates
add rounded presentation frames and soft shadows around actual GUI captures.
-The screenshots are unchanged; the window chrome outside them is presentation
+The desktop sequence moves from White on rice paper, through the warm CodeGraff
+palette on coral, to Black on cobalt. The screenshots are unchanged; the window chrome outside them is presentation
decoration. README links open the original PNGs for closer inspection.
## Regenerate
diff --git a/docs/media/readme-plates.cjs b/docs/media/readme-plates.cjs
index a7e52553..2f22fe4b 100644
--- a/docs/media/readme-plates.cjs
+++ b/docs/media/readme-plates.cjs
@@ -25,9 +25,9 @@ module.exports = [
{ name: 'readme-workshop', width: 1920, height: 1040, html: () => page(`${brand('THE CODING WORKSHOP')}
<div class="hero-copy"><div class="eyebrow">OPEN SOURCE. HANDS ON.</div><h1>Small crew.<br>Real work.</h1><p>Give Graff the task.<br>Make something worth keeping.</p><div class="rule"></div><span class="signature">Code. Coordinate. Review.</span></div>
<div class="hero-art"><img src="${art('run')}" /></div><div class="hero-bottom">THE GRAFF WORKSHOP <span>CODEGRAFF</span></div>`, 'hero') },
- { name: 'desktop-chat-studio', width: 1920, height: 1530, html: () => screen({ id:'01', title:'A place to do the work.', note:'A clear conversation. Your tools close at hand.', label:'THE WORKSPACE', file:'chat-dark', artName:'run', theme:'night' }) },
- { name: 'desktop-agents-studio', width: 1920, height: 1530, html: () => screen({ id:'02', title:'Many hands. One workspace.', note:'See the crew. Share context. Pass the work along.', label:'AGENT COORDINATION', file:'agents-codegraff', artName:'agents', theme:'warm' }) },
- { name: 'desktop-review-studio', width: 1920, height: 1530, html: () => screen({ id:'03', title:'Room for a closer look.', note:'Keep the conversation beside the changes.', label:'CHANGES & REVIEW', file:'review-codegraff', artName:'review', theme:'coral' }) },
+ { name: 'desktop-chat-studio', width: 1920, height: 1530, html: () => screen({ id:'01', title:'A place to do the work.', note:'A clear conversation. Your tools close at hand.', label:'THE WORKSPACE', file:'chat-light', artName:'run', theme:'bright' }) },
+ { name: 'desktop-agents-studio', width: 1920, height: 1530, html: () => screen({ id:'02', title:'Many hands. One workspace.', note:'See the crew. Share context. Pass the work along.', label:'AGENT COORDINATION', file:'agents-codegraff', artName:'agents', theme:'coral' }) },
+ { name: 'desktop-review-studio', width: 1920, height: 1530, html: () => screen({ id:'03', title:'Room for a closer look.', note:'Keep the conversation beside the changes.', label:'CHANGES & REVIEW', file:'review-dark', artName:'review', theme:'night' }) },
{ name: 'readme-context-workshop', width:1920, height:920, html: () => page(`${brand('INSIDE THE HARNESS')}
<div class="loop-art"><img src="${art('review')}" /></div><div class="loop-copy"><div class="eyebrow">HOW CONTEXT MOVES THROUGH GRAFF</div><h1>Context that stays useful.</h1><ol><li><b>01</b><div><strong>Reuse the setup</strong><p>Keep stable instructions ready for the next step.</p></div></li><li><b>02</b><div><strong>Work with the context</strong><p>Run small programs and coordinate tool calls.</p></div></li><li><b>03</b><div><strong>Carry the result forward</strong><p>Return the information the next step needs.</p></div></li></ol></div>
<div class="hero-bottom">THE GRAFF WORKSHOP <span>CONTEXT → TOOLS → RESULTS</span></div>`, 'loop') },
diff --git a/docs/media/readme-plates.css b/docs/media/readme-plates.css
index 48b271da..9b59f03a 100644
--- a/docs/media/readme-plates.css
+++ b/docs/media/readme-plates.css
@@ -23,6 +23,7 @@ header p { font-size: 27px; opacity: .76; margin: 0; }
.dark { border-color: #f6eedf35; }.dark .chrome { background: #252526; color: #d0cbc2; border-color: #ffffff10; }
footer { position: absolute; left: 84px; right: 84px; bottom: 43px; display: flex; align-items: center; gap: 24px; border-top: 1px solid #1b171430; padding-top: 24px; font-size: 18px; }
.footer-label { font: 14px ui-monospace, monospace; letter-spacing: 2px; }.edition { margin-left: auto; font: 14px ui-monospace, monospace; letter-spacing: 2px; }
+.bright { background: #fffaf0; }.bright .chrome { background: #f5f5f6; color: #62636a; }
.night { background: #243e73; color: #fff4df; }.night .eyebrow { color: #f5b55e; }.night footer { border-color: #f6eedf40; }
.coral { background: #d7654d; }.coral .eyebrow { color: #4f241d; }.coral header p { opacity: .88; }
.hero { height: 1040px; }.hero .brand { right: 1070px; }.hero .brand small { display: none; }