Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

feat(onboarding): real UI in scenes, sequenced dictation, centered kanban, mobile step

enes435308e1abb1
diff --git a/src/renderer/components/onboarding/OnboardingFlow.tsx b/src/renderer/components/onboarding/OnboardingFlow.tsx
index c9d13f158..d7601453b 100644
--- a/src/renderer/components/onboarding/OnboardingFlow.tsx
+++ b/src/renderer/components/onboarding/OnboardingFlow.tsx
@@ -6,6 +6,7 @@ import { isHoldChord, shortcutKeyParts } from '@shared/shortcut'
import { keyLabel } from '@shared/platform-utils'
import { useSettings } from '../../state/settings'
import { useEntitlement } from '../../state/entitlement'
+import { AgentIcon } from '../../lib/agentIcons'
import {
OnbBrandMark,
OnbCheck,
@@ -13,7 +14,8 @@ import {
SceneAgents,
SceneDictation,
SceneKanban,
- SceneNotify
+ SceneNotify,
+ ScenePhone
} from './scenes'
const isMac = /Mac/i.test(navigator.platform || navigator.userAgent)
@@ -30,8 +32,9 @@ function formatSize(mb: number): string {
return mb >= 1000 ? `${(mb / 1000).toFixed(1)} GB` : `${Math.round(mb)} MB`
}
-/** Info step + the setting it configures, one per screen. Step 0 is the welcome cover. */
-const STEP_COUNT = 5
+/** Info step + the setting it configures, one per screen. Step 0 is the welcome cover;
+ * the last step is the mobile-app announcement (info-only). */
+const STEP_COUNT = 6
/**
* First-run setup tour: welcome → agents → dictation → kanban → notifications. Each step
@@ -120,8 +123,8 @@ export function OnboardingFlow({ onClose }: { onClose: () => void }) {
return () => window.removeEventListener('keydown', onKey)
}, [onClose])
- // ---- notifications (last step: both choices finish the tour) ----
- const finishWithNotifications = (enable: boolean): void => {
+ // ---- notifications (either choice records the consent and moves on) ----
+ const chooseNotifications = (enable: boolean): void => {
update({ notifyOnClaudeDone: enable, notifyConsentAsked: true })
if (enable) {
void window.nodeTerminal.notify({
@@ -131,7 +134,7 @@ export function OnboardingFlow({ onClose }: { onClose: () => void }) {
force: true
})
}
- onClose()
+ setStep((s) => Math.min(s + 1, STEP_COUNT - 1))
}
// `defaultAgent` is always a launchable builtin per its doc, but the type is open — guard.
@@ -190,10 +193,11 @@ export function OnboardingFlow({ onClose }: { onClose: () => void }) {
) : (
<div className="onb-card">
<div className="onb-scene">
- {step === 1 && <SceneAgents label={agent.label} color={agent.color} />}
+ {step === 1 && <SceneAgents agentId={agentId} label={agent.label} color={agent.color} />}
{step === 2 && <SceneDictation keys={dictKeys.map((k) => keyLabel(k, isMac))} hold={dictHold} />}
{step === 3 && <SceneKanban pulseKey={kanbanPulse} />}
{step === 4 && <SceneNotify />}
+ {step === 5 && <ScenePhone />}
</div>
<div className="onb-pane">
<div className="onb-step-no">Step {step} of {STEP_COUNT - 1}</div>
@@ -215,7 +219,7 @@ export function OnboardingFlow({ onClose }: { onClose: () => void }) {
className={`onb-agent ${settings.defaultAgent === id ? 'is-selected' : ''}`}
onClick={() => update({ defaultAgent: id })}
>
- <span className="onb-dot" style={{ background: AGENT_CONFIG[id].color }} />
+ <AgentIcon agentId={id} />
{AGENT_CONFIG[id].label}
</button>
))}
@@ -307,16 +311,31 @@ export function OnboardingFlow({ onClose }: { onClose: () => void }) {
Notifications.
</p>
<div className="onb-notify-actions">
- <button className="onb-btn onb-btn--primary" autoFocus onClick={() => finishWithNotifications(true)}>
- Enable notifications & finish
+ <button className="onb-btn onb-btn--primary" autoFocus onClick={() => chooseNotifications(true)}>
+ Enable notifications
</button>
- <button className="onb-btn" onClick={() => finishWithNotifications(false)}>
- Not now — just finish
+ <button className="onb-btn" onClick={() => chooseNotifications(false)}>
+ Not now
</button>
</div>
</>
)}
+ {step === 5 && (
+ <>
+ <h2>Your sessions, in your pocket</h2>
+ <p>
+ <strong>nodeterm mobile</strong> attaches to these same live tmux sessions from
+ your phone — watch an agent work, answer a "needs you", or type into any
+ terminal from anywhere.
+ </p>
+ <p>
+ The iOS app is in App Store review — <strong>coming soon</strong>. You'll find
+ the pairing flow in Settings → Phone when it lands.
+ </p>
+ </>
+ )}
+
<div className="onb-nav">
<div className="onb-dots">
{Array.from({ length: STEP_COUNT }, (_, i) => (
@@ -327,9 +346,14 @@ export function OnboardingFlow({ onClose }: { onClose: () => void }) {
<button className="onb-btn" onClick={back}>
Back
</button>
- {step < STEP_COUNT - 1 && (
- <button className="onb-btn onb-btn--primary" onClick={next}>
- Next
+ {/* Step 4's own choice buttons advance it (an explicit consent answer);
+ the last step's primary is Finish. */}
+ {step !== 4 && (
+ <button
+ className="onb-btn onb-btn--primary"
+ onClick={step === STEP_COUNT - 1 ? onClose : next}
+ >
+ {step === STEP_COUNT - 1 ? 'Finish' : 'Next'}
</button>
)}
</div>
diff --git a/src/renderer/components/onboarding/scenes.tsx b/src/renderer/components/onboarding/scenes.tsx
index 643d2d0e2..969064083 100644
--- a/src/renderer/components/onboarding/scenes.tsx
+++ b/src/renderer/components/onboarding/scenes.tsx
@@ -1,9 +1,15 @@
import { useEffect, useRef, useState } from 'react'
+import type { AgentId } from '@shared/agents/config'
+import { AgentIcon } from '../../lib/agentIcons'
+import { IconTerminal, IconNote, IconEditor } from '../icons'
/**
* Animated scenes for the first-run setup tour (OnboardingFlow). All motion is CSS-only
* (keyframes in styles.css, `.onb-*`) so there are no new dependencies; every scene loops
* and respects `prefers-reduced-motion` (styles.css freezes them to their final frame).
+ * Where a scene depicts real UI (context menu, terminal node, kanban columns) it reuses
+ * the app's OWN classes (`ctx-menu`/`ctx-item`, `term-node__status`, kanban column look)
+ * so the tour never drifts from what the user actually gets.
*/
/** Inline check icon — a literal "✓" is tofu on Linux's default font stack. */
@@ -58,29 +64,44 @@ export function OnbGhostCanvas() {
)
}
-/** Right-click → context menu → an agent node pops onto the canvas. The highlighted menu
- * row and the spawned node follow the currently selected default agent. */
-export function SceneAgents({ label, color }: { label: string; color: string }) {
+/** Right-click → context menu → an agent node pops onto the canvas. The menu is the app's
+ * real `.ctx-menu`/`.ctx-item` (with the real brand icons) and the node mirrors
+ * `.term-node`'s look (3px color top border, panel header, real RUNNING badge classes) —
+ * both follow the currently selected default agent. */
+export function SceneAgents({ agentId, label, color }: { agentId: AgentId; label: string; color: string }) {
return (
<div className="onb-scene-canvas" aria-hidden="true">
{/* click ripple where the cursor right-clicks */}
<div className="onb-ripple" />
- {/* mock context menu */}
- <div className="onb-menu">
- <div className="onb-menu__row">New terminal</div>
- <div className="onb-menu__row onb-menu__row--hl">
- <span className="onb-dot" style={{ background: color }} />
+ {/* the real context menu, replayed (pointer-events off; positioned by the scene) */}
+ <div className="ctx-menu onb-menu">
+ <button className="ctx-item" tabIndex={-1}>
+ <span className="ctx-icon"><IconTerminal /></span>
+ New terminal
+ </button>
+ <button className="ctx-item onb-menu__hl" tabIndex={-1}>
+ <span className="ctx-icon"><AgentIcon agentId={agentId} /></span>
New {label}
- </div>
- <div className="onb-menu__row">New sticky note</div>
- <div className="onb-menu__row">Open file…</div>
+ </button>
+ <button className="ctx-item" tabIndex={-1}>
+ <span className="ctx-icon"><IconNote /></span>
+ New sticky note
+ </button>
+ <button className="ctx-item" tabIndex={-1}>
+ <span className="ctx-icon"><IconEditor /></span>
+ Open file…
+ </button>
</div>
- {/* the spawned agent node */}
- <div className="onb-node" style={{ borderColor: color }}>
+ {/* the spawned agent node (term-node look: 3px color top border + panel header) */}
+ <div className="onb-node" style={{ borderTopColor: color }}>
<div className="onb-node__head">
- <span className="onb-dot" style={{ background: color }} />
+ <span className="onb-node__color" style={{ background: color }} />
+ <AgentIcon agentId={agentId} size={13} />
<span className="onb-node__title">{label}</span>
- <span className="onb-badge">RUNNING</span>
+ <span className="term-node__status term-node__status--busy" style={{ marginLeft: 'auto' }}>
+ <span className="term-node__status-dot" />
+ RUNNING
+ </span>
</div>
<div className="onb-node__body">
<div className="onb-line onb-line--w70" />
@@ -101,30 +122,34 @@ export function SceneAgents({ label, color }: { label: string; color: string })
)
}
-/** Dictation: the shortcut keys depress, the mic pulses with a live waveform, and the
- * transcribed text types into a mini terminal line. */
+/** Dictation, as a SEQUENCE (one shared 8s timeline): the shortcut is held → the mic +
+ * waveform appear while holding → on release the transcribed text types into the
+ * terminal line. Mirrors the real flow: nothing is written until you let go. */
export function SceneDictation({ keys, hold }: { keys: string[]; hold: boolean }) {
return (
<div className="onb-scene-canvas onb-scene--dictation" aria-hidden="true">
<div className="onb-kbd-row">
{keys.map((k, i) => (
- <kbd key={i} className={`onb-kbd ${hold ? 'onb-kbd--hold' : ''}`} style={{ animationDelay: `${i * 0.12}s` }}>
+ <kbd key={i} className={`onb-kbd ${hold ? 'onb-kbd--hold' : ''}`} style={{ animationDelay: `${i * 0.1}s` }}>
{k}
</kbd>
))}
- {hold && <span className="onb-kbd-hint">hold</span>}
+ {hold && <span className="onb-kbd-hint">hold…</span>}
</div>
- <div className="onb-mic">
- <div className="onb-mic__ring" />
- <div className="onb-mic__ring onb-mic__ring--late" />
- <svg viewBox="0 0 24 24" width="22" height="22" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round">
- <rect x="9" y="3" width="6" height="11" rx="3" />
- <path d="M5 11a7 7 0 0 0 14 0M12 18v3" />
- </svg>
- <div className="onb-wave">
- {[0, 1, 2, 3, 4].map((i) => (
- <span key={i} style={{ animationDelay: `${i * 0.15}s` }} />
- ))}
+ {/* visible only during the hold window (wrapper opacity gates the loop inside) */}
+ <div className="onb-mic-wrap">
+ <div className="onb-mic">
+ <div className="onb-mic__ring" />
+ <div className="onb-mic__ring onb-mic__ring--late" />
+ <svg viewBox="0 0 24 24" width="22" height="22" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round">
+ <rect x="9" y="3" width="6" height="11" rx="3" />
+ <path d="M5 11a7 7 0 0 0 14 0M12 18v3" />
+ </svg>
+ <div className="onb-wave">
+ {[0, 1, 2, 3, 4].map((i) => (
+ <span key={i} style={{ animationDelay: `${i * 0.15}s` }} />
+ ))}
+ </div>
</div>
</div>
<div className="onb-term-line">
@@ -136,19 +161,22 @@ export function SceneDictation({ keys, hold }: { keys: string[]; hold: boolean }
)
}
+// Stage is 312×210 (3 real-looking columns of 96px + 12px gaps), centered by the scene.
+const KCOL_W = 96
+const KCOL_X = [0, 108, 216]
+const KCOL_LABELS = ['To Do', 'In Progress', 'Done']
const KANBAN_CARDS = [
- // [canvas x, canvas y, rotate] → column index + row index on the board
- { id: 0, c: [12, 18, -3], col: 0, row: 0, w: 64 },
- { id: 1, c: [150, 8, 2], col: 0, row: 1, w: 52 },
- { id: 2, c: [236, 52, -2], col: 1, row: 0, w: 58 },
- { id: 3, c: [58, 108, 3], col: 1, row: 1, w: 66 },
- { id: 4, c: [188, 128, -1], col: 2, row: 0, w: 48 }
+ // canvas-scatter [x, y, rotate] → board [column, row]
+ { id: 0, c: [18, 22, -3], col: 0, row: 0 },
+ { id: 1, c: [180, 12, 2], col: 0, row: 1 },
+ { id: 2, c: [232, 74, -2], col: 1, row: 0 },
+ { id: 3, c: [64, 120, 3], col: 1, row: 1 },
+ { id: 4, c: [190, 158, -1], col: 2, row: 0 }
]
-const COL_X = [10, 112, 214]
-const COL_LABELS = ['To Do', 'In Progress', 'Done']
/** Canvas ↔ kanban morph: scattered session cards fly into three labelled columns and back,
- * on a timer (transition-driven, so a JS toggle is enough — no per-card keyframes). */
+ * on a timer (transition-driven, so a JS toggle is enough — no per-card keyframes). The
+ * stage is centered in the scene and the columns mirror the real board's column panels. */
export function SceneKanban({ pulseKey }: { pulseKey?: number }) {
const [board, setBoard] = useState(false)
const reduced = useRef(
@@ -173,26 +201,28 @@ export function SceneKanban({ pulseKey }: { pulseKey?: number }) {
}, [pulseKey])
return (
- <div className={`onb-scene-canvas onb-scene--kanban ${board ? 'is-board' : ''}`} aria-hidden="true">
- {COL_LABELS.map((l, i) => (
- <div key={l} className="onb-col" style={{ left: COL_X[i] }}>
- {l}
- </div>
- ))}
- {KANBAN_CARDS.map((k) => (
- <div
- key={k.id}
- className="onb-mini"
- style={
- board
- ? { left: COL_X[k.col], top: 34 + k.row * 34, transform: 'rotate(0deg)', width: 88 }
- : { left: k.c[0], top: k.c[1], transform: `rotate(${k.c[2]}deg)`, width: k.w }
- }
- >
- <span className="onb-mini__dot" />
- <span className="onb-mini__bar" />
- </div>
- ))}
+ <div className="onb-scene-canvas onb-scene--kanban" aria-hidden="true">
+ <div className={`onb-kstage ${board ? 'is-board' : ''}`}>
+ {KCOL_LABELS.map((l, i) => (
+ <div key={l} className="onb-kcol" style={{ left: KCOL_X[i] }}>
+ <div className="onb-kcol__h">{l}</div>
+ </div>
+ ))}
+ {KANBAN_CARDS.map((k) => (
+ <div
+ key={k.id}
+ className="onb-mini"
+ style={
+ board
+ ? { left: KCOL_X[k.col] + 6, top: 36 + k.row * 34, transform: 'rotate(0deg)', width: KCOL_W - 12 }
+ : { left: k.c[0], top: k.c[1], transform: `rotate(${k.c[2]}deg)`, width: 64 }
+ }
+ >
+ <span className="onb-mini__dot" />
+ <span className="onb-mini__bar" />
+ </div>
+ ))}
+ </div>
</div>
)
}
@@ -218,3 +248,42 @@ export function SceneNotify() {
</div>
)
}
+
+/** The mobile companion as a floating phone mockup: live session rows with real status
+ * badges + a terminal line — announced as coming soon (iOS is in App Store review). */
+export function ScenePhone() {
+ return (
+ <div className="onb-scene-canvas onb-scene--phone" aria-hidden="true">
+ <div className="onb-phone">
+ <div className="onb-phone__notch" />
+ <div className="onb-phone__rows">
+ <div className="onb-phone__row">
+ <span className="onb-mini__dot" style={{ background: '#d97757' }} />
+ <span className="onb-mini__bar" />
+ <span className="term-node__status term-node__status--busy onb-phone__badge">
+ <span className="term-node__status-dot" />
+ RUNNING
+ </span>
+ </div>
+ <div className="onb-phone__row">
+ <span className="onb-mini__dot" style={{ background: '#10a37f' }} />
+ <span className="onb-mini__bar" />
+ <span className="term-node__status term-node__status--attention onb-phone__badge">
+ <span className="term-node__status-dot" />
+ NEEDS YOU
+ </span>
+ </div>
+ <div className="onb-phone__row">
+ <span className="onb-mini__dot" />
+ <span className="onb-mini__bar" />
+ </div>
+ <div className="onb-phone__term">
+ <span className="onb-term-prompt">❯</span>
+ <span className="onb-caret" />
+ </div>
+ </div>
+ </div>
+ <span className="onb-soon">COMING SOON</span>
+ </div>
+ )
+}
diff --git a/src/renderer/styles.css b/src/renderer/styles.css
index 8ce6dfdda..3e056a762 100644
--- a/src/renderer/styles.css
+++ b/src/renderer/styles.css
@@ -7532,16 +7532,15 @@ body,
20% { opacity: 0.9; transform: scale(0.5); }
30%, 100% { opacity: 0; transform: scale(1.6); }
}
-.onb-menu {
+/* The scene's context menu is the app's REAL .ctx-menu — this modifier only re-anchors it
+ into the scene (absolute, no fixed/z-index) and makes it a non-interactive replay. */
+.ctx-menu.onb-menu {
position: absolute;
left: 112px;
top: 132px;
- width: 148px;
- background: #1d1d21;
- border: 1px solid var(--border);
- border-radius: 8px;
- padding: 4px;
- box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
+ z-index: auto;
+ min-width: 150px;
+ pointer-events: none;
opacity: 0;
transform-origin: top left;
animation: onb-menu 7s ease infinite;
@@ -7551,33 +7550,30 @@ body,
23%, 52% { opacity: 1; transform: scale(1); }
56%, 100% { opacity: 0; transform: scale(0.97); }
}
-.onb-menu__row {
- display: flex;
- align-items: center;
- gap: 7px;
- font-size: 11px;
- color: rgba(235, 235, 245, 0.75);
+.onb-menu .ctx-item {
+ font-size: 11.5px;
padding: 5px 8px;
- border-radius: 5px;
}
-.onb-menu__row--hl {
- color: #fff;
+.onb-menu__hl {
animation: onb-menu-hl 7s ease infinite;
}
@keyframes onb-menu-hl {
0%, 30% { background: transparent; }
- 36%, 54% { background: var(--accent); }
+ 36%, 54% { background: var(--accent); color: #fff; }
58%, 100% { background: transparent; }
}
+/* The spawned node mirrors the real .term-node look: 3px color top border, panel header. */
.onb-node {
position: absolute;
left: 128px;
top: 96px;
- width: 168px;
- background: #131316;
- border: 1px solid;
+ width: 180px;
+ background: var(--panel);
+ border: 1px solid var(--border);
+ border-top-width: 3px;
border-radius: 10px;
overflow: hidden;
+ box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
opacity: 0;
animation: onb-node-pop 7s cubic-bezier(0.34, 1.4, 0.5, 1) infinite;
}
@@ -7591,30 +7587,24 @@ body,
align-items: center;
gap: 6px;
padding: 6px 8px;
- background: rgba(255, 255, 255, 0.05);
+ background: var(--panel-header);
font-size: 10.5px;
font-weight: 600;
}
+.onb-node__color {
+ width: 10px;
+ height: 10px;
+ border-radius: 50%;
+ flex: none;
+}
+.onb-node__head .term-node__status {
+ font-size: 8.5px;
+}
.onb-node__title {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
-.onb-badge {
- margin-left: auto;
- font-size: 8px;
- font-weight: 800;
- letter-spacing: 0.05em;
- color: #34c759;
- border: 1px solid rgba(52, 199, 89, 0.5);
- border-radius: 4px;
- padding: 1px 4px;
- animation: onb-pulse 1.6s ease-in-out infinite;
-}
-@keyframes onb-pulse {
- 0%, 100% { opacity: 1; }
- 50% { opacity: 0.45; }
-}
.onb-node__body {
padding: 9px 10px 12px;
display: flex;
@@ -7643,6 +7633,9 @@ body,
align-items: center;
gap: 6px;
}
+/* One shared 8s timeline, in SEQUENCE (mirrors the real flow): keys go down (~5%),
+ the mic + waveform live only while held (8–52%), release (~55%), then the transcribed
+ text types out (58–90%) — nothing is written until you let go. */
.onb-kbd {
display: inline-flex;
align-items: center;
@@ -7656,25 +7649,42 @@ body,
border-radius: 8px;
font-size: 15px;
font-weight: 600;
- animation: onb-keypress 5s ease infinite;
+ animation: onb-keypress 8s ease infinite;
}
.onb-kbd--hold {
animation-name: onb-keyhold;
}
@keyframes onb-keypress {
- 0%, 6% { transform: translateY(0); border-bottom-width: 3px; }
- 10%, 14% { transform: translateY(2px); border-bottom-width: 1px; }
- 18%, 100% { transform: translateY(0); border-bottom-width: 3px; }
+ 0%, 3% { transform: translateY(0); border-bottom-width: 3px; }
+ 5%, 9% { transform: translateY(2px); border-bottom-width: 1px; }
+ 12%, 100% { transform: translateY(0); border-bottom-width: 3px; }
}
@keyframes onb-keyhold {
- 0%, 6% { transform: translateY(0); border-bottom-width: 3px; }
- 12%, 72% { transform: translateY(2px); border-bottom-width: 1px; }
- 80%, 100% { transform: translateY(0); border-bottom-width: 3px; }
+ 0%, 3% { transform: translateY(0); border-bottom-width: 3px; }
+ 6%, 52% { transform: translateY(2px); border-bottom-width: 1px; }
+ 57%, 100% { transform: translateY(0); border-bottom-width: 3px; }
}
.onb-kbd-hint {
font-size: 10.5px;
color: var(--muted);
margin-left: 4px;
+ opacity: 0;
+ animation: onb-holdhint 8s ease infinite;
+}
+@keyframes onb-holdhint {
+ 0%, 5% { opacity: 0; }
+ 9%, 50% { opacity: 1; }
+ 56%, 100% { opacity: 0; }
+}
+/* gates the whole mic block to the hold window; the loops inside keep their own rhythm */
+.onb-mic-wrap {
+ opacity: 0;
+ animation: onb-micgate 8s ease infinite;
+}
+@keyframes onb-micgate {
+ 0%, 6% { opacity: 0; transform: scale(0.9); }
+ 10%, 52% { opacity: 1; transform: scale(1); }
+ 58%, 100% { opacity: 0; transform: scale(0.95); }
}
.onb-mic {
position: relative;
@@ -7737,12 +7747,13 @@ body,
overflow: hidden;
white-space: nowrap;
max-width: 0;
- animation: onb-type 5s steps(32) infinite;
+ animation: onb-type 8s steps(32) infinite;
color: rgba(235, 235, 245, 0.85);
}
+/* types only AFTER the release (58%) — the transcription arrives when you let go */
@keyframes onb-type {
- 0%, 14% { max-width: 0; }
- 70%, 100% { max-width: 100%; }
+ 0%, 58% { max-width: 0; }
+ 90%, 100% { max-width: 100%; }
}
.onb-caret {
width: 6px;
@@ -7756,23 +7767,38 @@ body,
/* -- kanban scene (positions transition; the JS interval flips .is-board) -- */
.onb-scene--kanban {
- min-height: 240px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+/* CENTERED stage the cards + columns live in (the action must not hug the top-left) */
+.onb-kstage {
+ position: relative;
+ width: 312px;
+ height: 210px;
}
-.onb-col {
+/* column panels mirror the real board's .kanban-col (bg/border/radius), scaled down */
+.onb-kcol {
position: absolute;
- top: 12px;
- width: 88px;
+ top: 0;
+ bottom: 0;
+ width: 96px;
+ background: rgba(255, 255, 255, 0.05);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 12px;
+ opacity: 0;
+ transition: opacity 0.5s ease 0.25s;
+}
+.onb-kcol__h {
+ padding: 8px 9px 6px;
font-size: 9px;
font-weight: 700;
letter-spacing: 0.07em;
text-transform: uppercase;
color: var(--muted);
- border-bottom: 1px solid rgba(255, 255, 255, 0.12);
- padding-bottom: 4px;
- opacity: 0;
- transition: opacity 0.5s ease 0.25s;
+ border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
-.onb-scene--kanban.is-board .onb-col {
+.onb-kstage.is-board .onb-kcol {
opacity: 1;
}
.onb-mini {
@@ -7871,6 +7897,89 @@ body,
align-self: flex-start;
}
+/* -- phone scene (mobile companion announcement) -- */
+.onb-scene--phone {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+.onb-phone {
+ position: relative;
+ width: 152px;
+ height: 296px;
+ background: #131316;
+ border: 2px solid rgba(255, 255, 255, 0.16);
+ border-radius: 24px;
+ box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
+ padding: 28px 10px 12px;
+ animation: onb-float 7s ease-in-out infinite;
+}
+.onb-phone__notch {
+ position: absolute;
+ top: 9px;
+ left: 50%;
+ transform: translateX(-50%);
+ width: 54px;
+ height: 9px;
+ border-radius: 5px;
+ background: rgba(255, 255, 255, 0.1);
+}
+.onb-phone__rows {
+ display: flex;
+ flex-direction: column;
+ gap: 8px;
+}
+.onb-phone__row {
+ display: flex;
+ align-items: center;
+ gap: 6px;
+ background: rgba(255, 255, 255, 0.05);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 8px;
+ padding: 7px 8px;
+}
+/* the real status badges, scaled to phone-row size */
+.onb-phone__row .term-node__status {
+ margin-left: 0;
+ flex: none;
+ font-size: 7.5px;
+}
+.onb-phone__term {
+ display: flex;
+ align-items: center;
+ gap: 6px;
+ margin-top: 6px;
+ background: #0a0a0c;
+ border: 1px solid var(--border);
+ border-radius: 8px;
+ padding: 8px;
+ font-family: Menlo, Monaco, monospace;
+ font-size: 10px;
+}
+.onb-scene--phone {
+ position: relative;
+}
+.onb-soon {
+ /* pinned over the phone's top-right corner — must not cover the session rows */
+ position: absolute;
+ top: 13%;
+ right: 15%;
+ transform: rotate(8deg);
+ background: var(--accent);
+ color: #fff;
+ font-size: 10px;
+ font-weight: 800;
+ letter-spacing: 0.08em;
+ padding: 4px 11px;
+ border-radius: 999px;
+ box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
+ animation: onb-soon 3.2s ease-in-out infinite;
+}
+@keyframes onb-soon {
+ 0%, 100% { transform: rotate(8deg) scale(1); }
+ 50% { transform: rotate(8deg) scale(1.07); }
+}
+
/* ---- reduced motion: freeze every scene to a readable final frame ---- */
@media (prefers-reduced-motion: reduce) {
.onb-ghost,
@@ -7889,17 +7998,20 @@ body,
animation: none;
opacity: 1;
}
- .onb-menu__row--hl {
+ .onb-menu__hl {
animation: none;
background: var(--accent);
+ color: #fff;
}
.onb-node {
animation: none;
opacity: 1;
transform: none;
}
- .onb-badge {
+ .onb-mic-wrap,
+ .onb-kbd-hint {
animation: none;
+ opacity: 1;
}
.onb-term-typed {
animation: none;
@@ -7908,4 +8020,8 @@ body,
.onb-mini {
transition: none;
}
+ .onb-phone,
+ .onb-soon {
+ animation: none;
+ }
}