Skip to content

HarnessRouter Community Edition: the self-hosted, Apache-2.0 edition of the unified interface for agent harnesses. Run Codex, Claude Code, Hermes, PI, DSH, and more through one API, with sessions, streaming, files, cancellation, and failure handling. Implements the Unified Harness Protocol (UHP), an open standard. Your keys, your infrastructure.

console: the Environments shelf with nothing on it is the design's flow strip and the empty row (#344)

github-actions[bot]9f4c2751b9da
diff --git a/ui/src/app/(app)/environments/page.tsx b/ui/src/app/(app)/environments/page.tsx
index bc59f7b6..b7b98292 100644
--- a/ui/src/app/(app)/environments/page.tsx
+++ b/ui/src/app/(app)/environments/page.tsx
@@ -64,7 +64,7 @@ export default function EnvironmentsPage() {
<div className="page-header">
<div>
<h1>Environments</h1>
- <p>Project files and packages that a harness opens in every session.</p>
+ <p>A working directory and its packages, built once. Attach it to a harness and every task starts ready.</p>
</div>
<div className="page-actions">
<button className="button primary" type="button" onClick={() => setCreating(true)}>
@@ -76,17 +76,21 @@ export default function EnvironmentsPage() {
{items === null && !err && <SkelRows rows={3} />}
+ {/* Nothing yet: the flow the design draws at the top of every environment (you add, built
+ once, every task starts from it), then the one thing to do. */}
{items !== null && items.length === 0 && (
- <div className="env-onboard">
- <span className="env-onboard-mark"><iconify-icon icon="tabler:stack-2"></iconify-icon></span>
- <h2>Give your Tasks a ready project</h2>
- <p>An environment is a project and its installed packages, built once. Every Task that uses it starts with the project in place, at the same path, with nothing to install or upload.</p>
- <ol className="env-steps">
- <li><span>1</span><strong>Import the project</strong><em>An archive, a git repository, or files, folders kept.</em></li>
- <li><span>2</span><strong>Build it once</strong><em>Packages from requirements.txt and package.json are installed into it.</em></li>
- <li><span>3</span><strong>Name it on a Harness</strong><em>Every Task of that Harness reads it, read-only, beside its own workspace.</em></li>
- </ol>
- <button className="button primary" type="button" onClick={() => setCreating(true)}><iconify-icon icon="tabler:plus"></iconify-icon>New environment</button>
+ <div className="env-landing">
+ <div className="env-flow">
+ <div><div className="env-flow-k">01 · You add</div><div className="env-flow-t">Files and packages</div><div className="env-flow-m">An archive, a git repository, or files, folders kept.</div></div>
+ <span className="env-flow-arrow" aria-hidden="true">→</span>
+ <div><div className="env-flow-k">02 · Built once</div><div className="env-flow-t">A ready snapshot</div><div className="env-flow-m">Packages from requirements.txt and package.json are installed into it.</div></div>
+ <span className="env-flow-arrow" aria-hidden="true">→</span>
+ <div><div className="env-flow-k">03 · Every task</div><div className="env-flow-t">Starts from it</div><div className="env-flow-m">Every Task of that Harness reads it, read-only, beside its own workspace.</div></div>
+ </div>
+ <div className="env-landing-cta">
+ <span>No environments yet.</span>
+ <button className="button primary" type="button" onClick={() => setCreating(true)}><iconify-icon icon="tabler:plus"></iconify-icon>New environment</button>
+ </div>
</div>
)}
diff --git a/ui/src/app/hr.css b/ui/src/app/hr.css
index 5280bdf1..58822e37 100644
--- a/ui/src/app/hr.css
+++ b/ui/src/app/hr.css
@@ -1065,6 +1065,16 @@ body.hr-resizing iframe { pointer-events: none; }
.env-mono em { font-style: normal; color: var(--muted); }
.env-dim { color: var(--muted); font-size: 12.5px; }
/* Empty states: one column, centred, the hierarchy in size and weight; numbered steps, one accent action. */
+/* the shelf with nothing on it: the design's flow strip, then the one thing to do */
+.env-landing { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
+.env-flow { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr); align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
+.env-flow > div { min-width: 0; }
+.env-flow-k { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
+.env-flow-t { font-size: 13px; font-weight: 600; color: var(--ink); margin-top: 5px; }
+.env-flow-m { font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: 3px; text-wrap: pretty; }
+.env-flow-arrow { color: #c4beba; font-size: 14px; text-align: center; }
+.env-landing-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 13.5px; color: var(--muted); }
+.env-landing-cta .button { display: inline-flex; align-items: center; gap: 6px; }
.env-onboard { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; max-width: 560px; margin: 56px auto; padding: 0 16px; }
.env-onboard h2 { margin: 6px 0 0; font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.env-onboard p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
@@ -1092,6 +1102,9 @@ body.hr-resizing iframe { pointer-events: none; }
.env-manifests dd { margin: 0; color: var(--muted); }
@media (max-width: 720px) {
.env-steps, .env-choices { grid-template-columns: minmax(0, 1fr); }
+ .env-flow { grid-template-columns: minmax(0, 1fr); gap: 14px; }
+ .env-flow-arrow { display: none; }
+ .env-landing-cta { flex-direction: column; align-items: flex-start; }
.env-onboard, .env-onboard.is-files { margin: 32px auto; }
}
@media (max-width: 900px) {