Open-source, local-first AI agent for real work.
TypeScript agent-toolsai-agentbyokcoding-agentcross-platformdesktop-appdeveloper-toolselectronharnessknowledge-basellmwikilocal-firstmcpplugin-systemprivacy-firstskillstypescriptvettaworkflow-automation
/* Marketing hosts import this entry — include SendButton morph CSS so arrow/stop
states work without relying only on component side-effect imports. */
@import "./chat/send-button.css";
/* VS Code–style syntax token defaults for CodeMirror file editor. */
@import "./file-preview/syntax-tokens.css";
/* Command Menu 的一次性装饰动效(组件侧也会 side-effect import)。 */
@import "./overlays/command-menu.css";
/* 会话消息流的上下渐隐:两层 mask 把滚动条槽位排除在渐隐之外。 */
@import "./chat/message-feed-fade.css";
@keyframes pulse {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.4;
}
}
@keyframes context-ring-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes session-title-marquee {
0%,
15% {
transform: translateX(0);
}
85%,
100% {
transform: translateX(var(--session-title-marquee-distance));
}
}
.session-title-marquee-track {
animation: session-title-marquee var(--session-title-marquee-duration) linear infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
.session-title-marquee-track {
animation: none;
transform: none;
}
}
/* ─── 「进行中」指示器 ───
.processing-shimmer / .vetta-live-dot / .tool-call-shimmer-text / .send-button-ripple-* /
.todo-label-sheen / .todo-marker-spin / .activity-dot-* 这些类在 CSS 里只写静止态,
不写 infinite 关键帧:macOS 主窗口带毛玻璃,页面每出一帧系统都要整窗重合成,各自 60fps 的
呼吸/波纹叠在一起足以把 GPU 顶到几成。呼吸由宿主(apps/desktop shared/lib/live-animations.ts)
用 Web Animations API 挂上 steps(16) 的合成器动画,并把所有指示器的 startTime 锁到同一相位,
整页每秒最多多出 10 帧(实测 4 个指示器合计约 20 帧/秒,主线程每步一次极轻的样式同步)。
没有宿主动画时它们就是静止的正常外观。 */
.processing-shimmer {
color: var(--foreground);
}
textarea::placeholder {
color: var(--muted-foreground);
opacity: 0.5;
}
/* Capture markers must stay vivid over guest pages, independently of the app theme. */
@theme {
--color-browser-selection: #008cff;
}
@theme inline {
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
--color-background: var(--background);
--color-border: var(--border);
--color-card: var(--card);
--color-card-foreground: var(--card-foreground);
--color-chart-1: var(--chart-1);
--color-chart-2: var(--chart-2);
--color-chart-3: var(--chart-3);
--color-chart-4: var(--chart-4);
--color-chart-5: var(--chart-5);
--color-destructive: var(--destructive);
--color-destructive-foreground: var(--destructive-foreground);
--color-foreground: var(--foreground);
--color-input: var(--input);
--color-input-bar-bg: var(--input-bar-bg);
--color-muted: var(--muted);
--color-muted-foreground: var(--muted-foreground);
--color-popover: var(--popover);
--color-popover-foreground: var(--popover-foreground);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-ring: var(--ring);
--color-secondary: var(--secondary);
--color-secondary-foreground: var(--secondary-foreground);
}