Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
docs(site): redesign the documentation site around real product UI
vastsab69576f80716
diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mtsindex 3d7746447..97eb28b44 100644--- a/docs/.vitepress/config.mts+++ b/docs/.vitepress/config.mts@@ -166,15 +166,13 @@ const zhNav: DefaultTheme.NavItem[] = [export default defineConfig({title: 'PI-Desktop',- description: 'Local-first AI coding agent documentation',- appearance: true,+ description: 'A modular desktop workspace for AI agents',+ appearance: 'dark',cleanUrls: true,lastUpdated: true,head: [- ['meta', { name: 'theme-color', content: '#f8fafc' }],- ['link', { rel: 'preconnect', href: 'https://fonts.googleapis.com' }],- ['link', { rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' }],- ['link', { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap' }],+ ['meta', { name: 'theme-color', content: '#0d0d0d' }],+ ['meta', { name: 'color-scheme', content: 'dark light' }],],locales: {root: { label: 'English', lang: 'en' },@@ -182,7 +180,7 @@ export default defineConfig({label: '简体中文',lang: 'zh-CN',title: 'PI-Desktop 文档',- description: '本地优先的 AI 编程代理文档',+ description: '面向 AI 智能体的模块化桌面工作区',themeConfig: {nav: zhNav,sidebar: zhSidebar,@@ -195,7 +193,7 @@ export default defineConfig({darkModeSwitchLabel: '外观',langMenuLabel: '切换语言',editLink: { pattern: 'https://github.com/vastsa/PI-Desktop/edit/main/docs/:path', text: '在 GitHub 上编辑此页' },- footer: { message: '为本地优先开发而构建。 <a href="https://aiuo.net" target="_blank" rel="noreferrer">AIUO.NET</a>', copyright: 'Copyright © 2026 PI-Desktop 贡献者' },+ footer: { message: '本地优先 · 模型可替换 · 插件可扩展。 <a href="https://aiuo.net" target="_blank" rel="noreferrer">AIUO.NET</a>', copyright: 'Copyright © 2026 PI-Desktop 贡献者' },},},},@@ -212,7 +210,7 @@ export default defineConfig({editLink: { pattern: 'https://github.com/vastsa/PI-Desktop/edit/main/docs/:path', text: 'Edit this page on GitHub' },outline: { level: 'deep', label: 'On this page' },docFooter: { prev: 'Previous', next: 'Next' },- footer: { message: 'Built for local-first development. <a href="https://aiuo.net" target="_blank" rel="noreferrer">AIUO.NET</a>', copyright: 'Copyright © 2026 PI-Desktop contributors' },+ footer: { message: 'Local-first · Model-agnostic · Plugin-powered. <a href="https://aiuo.net" target="_blank" rel="noreferrer">AIUO.NET</a>', copyright: 'Copyright © 2026 PI-Desktop contributors' },nav: enNav,sidebar: enSidebar,},diff --git a/docs/.vitepress/theme/Layout.vue b/docs/.vitepress/theme/Layout.vueindex 73a39ca1c..7ad241de7 100644--- a/docs/.vitepress/theme/Layout.vue+++ b/docs/.vitepress/theme/Layout.vue@@ -11,10 +11,13 @@ const { frontmatter, localeIndex } = useData()<template><Layout><template #home-hero-image>- <HomeHeroVisual :locale="localeIndex" />+ <HomeHeroVisual v-if="frontmatter.layout === 'home'" :locale="localeIndex" /></template><template #home-features-after>- <HomeModules :locale="localeIndex" v-if="frontmatter.layout === 'home'" />+ <HomeModules+ v-if="frontmatter.layout === 'home'"+ :locale="localeIndex"+ /></template></Layout></template>diff --git a/docs/.vitepress/theme/components/HomeHeroVisual.vue b/docs/.vitepress/theme/components/HomeHeroVisual.vueindex db36a2df9..a311cc978 100644--- a/docs/.vitepress/theme/components/HomeHeroVisual.vue+++ b/docs/.vitepress/theme/components/HomeHeroVisual.vue@@ -1,35 +1,56 @@<script setup lang="ts">-import { computed } from 'vue'+import { computed, ref, watch } from 'vue'const props = defineProps<{ locale: string }>()const isZh = computed(() => props.locale === 'zh-CN')++const shotSrc = '/hero-workspace.webp'+const loaded = ref(false)+watch(+ () => props.locale,+ () => {+ loaded.value = false+ }+)++const caption = computed(() =>+ isZh.value+ ? {+ title: '本地优先的智能体工作区',+ meta: '会话 · 子代理 · 文件 · 插件',+ }+ : {+ title: 'A local-first workspace for AI agents',+ meta: 'Sessions · subagents · files · plugins',+ }+)</script><template>- <div class="home-console" :aria-label="isZh ? 'PI-Desktop 系统边界预览' : 'PI-Desktop system boundary preview'">- <div class="home-console__topbar">- <span class="home-console__traffic"><i></i><i></i><i></i></span>- <span>{{ isZh ? 'system / overview' : 'system / overview' }}</span>- <span class="home-console__status">{{ isZh ? 'LOCAL' : 'LOCAL' }}</span>+ <div+ class="home-stage"+ :aria-label="isZh ? 'PI-Desktop 产品界面预览' : 'PI-Desktop product preview'"+ >+ <div class="home-stage__frame">+ <img+ class="home-stage__shot"+ :class="{ 'is-loaded': loaded }"+ :src="shotSrc"+ :alt="+ isZh+ ? 'PI-Desktop 多智能体协作与文件管理工作区截图'+ : 'PI-Desktop multi-agent workspace with file manager screenshot'+ "+ width="1800"+ height="1012"+ decoding="async"+ fetchpriority="high"+ @load="loaded = true"+ /></div>- <div class="home-console__body">- <div class="home-console__rail">- <span class="home-console__rail-mark">P</span>- <span></span><span></span><span></span>- </div>- <div class="home-console__canvas">- <div class="home-console__caption">{{ isZh ? 'RUNTIME TOPOLOGY' : 'RUNTIME TOPOLOGY' }}</div>- <div class="home-console__graph">- <div class="home-console__node home-console__node--accent"><b>01</b><strong>Renderer</strong><small>presentation</small></div>- <span class="home-console__line home-console__line--one"></span>- <div class="home-console__node"><b>02</b><strong>Electron</strong><small>orchestration</small></div>- <span class="home-console__line home-console__line--two"></span>- <div class="home-console__node"><b>03</b><strong>Rust host</strong><small>authority</small></div>- <span class="home-console__line home-console__line--three"></span>- <div class="home-console__node home-console__node--state"><b>04</b><strong>SQLite</strong><small>durable state</small></div>- </div>- <div class="home-console__footer"><span>protocol v9</span><span>schema v11</span><span>inspectable by default</span></div>- </div>+ <div class="home-stage__caption">+ <strong>{{ caption.title }}</strong>+ <span>{{ caption.meta }}</span></div></div></template>diff --git a/docs/.vitepress/theme/components/HomeModules.vue b/docs/.vitepress/theme/components/HomeModules.vueindex 6d6b64280..7eb0e1368 100644--- a/docs/.vitepress/theme/components/HomeModules.vue+++ b/docs/.vitepress/theme/components/HomeModules.vue@@ -5,95 +5,393 @@ type Locale = 'root' | 'zh-CN' | stringconst props = defineProps<{ locale: Locale }>()const isZh = computed(() => props.locale === 'zh-CN')+const localeFolder = computed(() => (isZh.value ? 'zh' : 'en'))-const copy = computed(() => isZh.value ? {- eyebrow: 'PI-DESKTOP / DOCUMENTATION SYSTEM',- title: '从意图进入,从边界深入。',- intro: '这不是一份按文件堆叠的目录,而是一张能帮助你定位、理解、修改和验证系统的地图。',- journeyLabel: '按意图阅读',- journeyTitle: '先回答你正在解决的问题。',- journeys: [- { index: '01', label: 'ORIENT', title: '建立产品模型', text: '先知道当前交付了什么、明确不做什么。', link: '/zh-CN/guide/' },- { index: '02', label: 'TRACE', title: '追踪一次请求', text: '从 Renderer 走到 Electron、pi、Rust host 和 SQLite。', link: '/zh-CN/spec/02-architecture/01-architecture' },- { index: '03', label: 'EXTEND', title: '开发一个插件', text: '从包格式、API、权限到生命周期逐步展开。', link: '/zh-CN/plugin-development' },- { index: '04', label: 'SHIP', title: '验证一次变化', text: '把规格、实现、E2E 场景和交付记录连起来。', link: '/zh-CN/spec/06-delivery/README' },- ],- mapLabel: '系统地图',- mapTitle: '四层边界,保持一条阅读主线。',- layers: [- { name: 'Shell', detail: 'Electron', text: '桌面窗口、preload IPC、生命周期和平台能力。' },- { name: 'Agent', detail: 'pi sidecar', text: '代理循环、工具调用、上下文与 provider-facing model work。' },- { name: 'Host', detail: 'Rust core', text: '权限、进程、文件系统、RPC 和可取消的运行时边界。' },- { name: 'State', detail: 'SQLite', text: '会话、配置、检查点、插件状态和持久化所有权。' },- ],- shelfLabel: '参考书架',- shelfTitle: '按主题深入,而不是在文件树里迷路。',- shelves: [- { title: '产品', text: '范围、操作模式和非目标。', link: '/zh-CN/spec/01-product/README' },- { title: '架构', text: '进程、数据和工程结构。', link: '/zh-CN/spec/02-architecture/README' },- { title: '运行时', text: '协议、工具、host 和模型。', link: '/zh-CN/spec/03-runtime/README' },- { title: '体验', text: '信息架构、国际化和交互。', link: '/zh-CN/spec/04-ux/README' },- { title: '安全', text: '权限、路径和隔离边界。', link: '/zh-CN/spec/05-security/README' },- { title: '交付', text: '验收、E2E 和发布。', link: '/zh-CN/spec/06-delivery/README' },- { title: '插件', text: '扩展包、API 和生命周期。', link: '/zh-CN/spec/07-plugins/README' },- { title: '决策', text: 'ADR、决策日志和开放问题。', link: '/zh-CN/spec/08-meta/README' },- ],- snapshotLabel: '实现快照',- snapshotTitle: '当前文档描述的版本线。',- snapshot: [['应用版本线', '0.5.8'], ['Host wire protocol', 'v9'], ['Storage schema', 'v11'], ['文档源语言', 'EN / 中文']],- footerTitle: '准备好进入代码库了吗?',- footerText: '从快速开始建立上下文,或者直接打开规格索引。',- footerPrimary: '开始阅读',- footerSecondary: '查看规格索引',- footerPrimaryLink: '/zh-CN/guide/',- footerSecondaryLink: '/zh-CN/spec/README',-} : {- eyebrow: 'PI-DESKTOP / DOCUMENTATION SYSTEM',- title: 'Enter by intent. Go deeper by boundary.',- intro: 'This is not a file dump. It is a map for locating, understanding, changing, and validating the system.',- journeyLabel: 'Read by intent',- journeyTitle: 'Start with the question you are solving.',- journeys: [- { index: '01', label: 'ORIENT', title: 'Build the product model', text: 'Know what is shipped and what is deliberately out of scope.', link: '/guide/' },- { index: '02', label: 'TRACE', title: 'Trace one request', text: 'Follow the path through Renderer, Electron, pi, Rust host, and SQLite.', link: '/spec/02-architecture/01-architecture' },- { index: '03', label: 'EXTEND', title: 'Build a plugin', text: 'Move from package format to API, permissions, and lifecycle.', link: '/plugin-development' },- { index: '04', label: 'SHIP', title: 'Validate a change', text: 'Connect the spec, implementation, E2E scenario, and delivery record.', link: '/spec/06-delivery/README' },- ],- mapLabel: 'System map',- mapTitle: 'Four boundaries. One readable thread.',- layers: [- { name: 'Shell', detail: 'Electron', text: 'Windows, preload IPC, lifecycle, and platform capabilities.' },- { name: 'Agent', detail: 'pi sidecar', text: 'Agent loop, tools, context, and provider-facing model work.' },- { name: 'Host', detail: 'Rust core', text: 'Permissions, processes, filesystem, RPC, and cancellation.' },- { name: 'State', detail: 'SQLite', text: 'Sessions, configuration, checkpoints, plugins, and ownership.' },- ],- shelfLabel: 'Reference shelf',- shelfTitle: 'Go deep by topic, not by getting lost in the file tree.',- shelves: [- { title: 'Product', text: 'Scope, modes, and non-goals.', link: '/spec/01-product/README' },- { title: 'Architecture', text: 'Processes, data, and structure.', link: '/spec/02-architecture/README' },- { title: 'Runtime', text: 'Protocols, tools, host, and models.', link: '/spec/03-runtime/README' },- { title: 'Experience', text: 'IA, internationalization, and interaction.', link: '/spec/04-ux/README' },- { title: 'Security', text: 'Permissions, paths, and isolation.', link: '/spec/05-security/README' },- { title: 'Delivery', text: 'Acceptance, E2E, and release.', link: '/spec/06-delivery/README' },- { title: 'Plugins', text: 'Packages, APIs, and lifecycle.', link: '/spec/07-plugins/README' },- { title: 'Decisions', text: 'ADRs, decisions, and open questions.', link: '/spec/08-meta/README' },- ],- snapshotLabel: 'Implementation snapshot',- snapshotTitle: 'The line this documentation describes.',- snapshot: [['Application line', '0.5.8'], ['Host wire protocol', 'v9'], ['Storage schema', 'v11'], ['Source languages', 'EN / 中文']],- footerTitle: 'Ready to enter the codebase?',- footerText: 'Build context with the guide, or open the full specification index.',- footerPrimary: 'Start reading',- footerSecondary: 'Open spec index',- footerPrimaryLink: '/guide/',- footerSecondaryLink: '/spec/README',-})+const copy = computed(() =>+ isZh.value+ ? {+ tourLabel: '产品一览',+ tourTitle: '看见真实的工作区,而不是概念图。',+ tourIntro:+ '首页展示的是 PI-Desktop 真实界面:会话、面板、插件、检索和模型配置都在同一套桌面环境里。',+ tour: [+ {+ slug: 'home-light',+ title: '工作区首页',+ meta: 'workspace',+ text: '项目、会话与编排状态集中在一个持续存在的桌面环境里。',+ link: '/zh-CN/guide/screenshots',+ feature: true,+ },+ {+ slug: 'panel-files',+ title: '文件与预览面板',+ meta: 'panels',+ text: '侧栏文件、浏览器与评审面板并排工作,不依赖单一 IDE。',+ link: '/zh-CN/guide/screenshots',+ },+ {+ slug: 'plugins-live',+ title: '插件运行时',+ meta: 'plugins',+ text: '插件不只是工具:可以扩展面板、视图、服务与 MCP。',+ link: '/zh-CN/plugin-development',+ },+ {+ slug: 'search',+ title: '全局检索',+ meta: 'search',+ text: '在会话、页面与设置之间快速定位上下文。',+ link: '/zh-CN/guide/screenshots',+ },+ {+ slug: 'extensions-mcp',+ title: '扩展与 MCP',+ meta: 'extensions',+ text: '子代理、技能、MCP 与权限边界都可检查、可配置。',+ link: '/zh-CN/guide/mcp-market',+ },+ {+ slug: 'settings-models',+ title: '模型与供应商',+ meta: 'models',+ text: '模型可替换,供应商配置留在本地工作区内。',+ link: '/zh-CN/guide/',+ },+ ],+ journeyLabel: '按意图阅读',+ journeyTitle: '先回答你正在解决的问题。',+ intro:+ '这不是按文件堆叠的目录,而是一张帮助你定位、理解、修改和验证系统的地图。',+ journeys: [+ {+ index: '01',+ label: 'ORIENT',+ title: '建立产品模型',+ text: '先知道当前交付了什么、明确不做什么。',+ link: '/zh-CN/guide/',+ },+ {+ index: '02',+ label: 'TRACE',+ title: '追踪一次请求',+ text: '从 Renderer 走到 Electron、pi、Rust host 和 SQLite。',+ link: '/zh-CN/spec/02-architecture/01-architecture',+ },+ {+ index: '03',+ label: 'EXTEND',+ title: '开发一个插件',+ text: '从包格式、API、权限到生命周期逐步展开。',+ link: '/zh-CN/plugin-development',+ },+ {+ index: '04',+ label: 'SHIP',+ title: '验证一次变化',+ text: '把规格、实现、E2E 场景和交付记录连起来。',+ link: '/zh-CN/spec/06-delivery/README',+ },+ ],+ mapLabel: '系统边界',+ mapTitle: '四层职责,一条可读主线。',+ layers: [+ {+ name: 'Shell',+ detail: 'Electron',+ text: '桌面窗口、preload IPC、生命周期和平台能力。',+ },+ {+ name: 'Agent',+ detail: 'pi sidecar',+ text: '代理循环、工具调用、上下文与 provider-facing model work。',+ },+ {+ name: 'Host',+ detail: 'Rust core',+ text: '权限、进程、文件系统、RPC 和可取消的运行时边界。',+ },+ {+ name: 'State',+ detail: 'SQLite',+ text: '会话、配置、检查点、插件状态和持久化所有权。',+ },+ ],+ shelfLabel: '规格地图',+ shelfTitle: '按主题深入,而不是在文件树里迷路。',+ shelves: [+ {+ title: '产品',+ text: '范围、操作模式和非目标。',+ link: '/zh-CN/spec/01-product/README',+ },+ {+ title: '架构',+ text: '进程、数据和工程结构。',+ link: '/zh-CN/spec/02-architecture/README',+ },+ {+ title: '运行时',+ text: '协议、工具、host 和模型。',+ link: '/zh-CN/spec/03-runtime/README',+ },+ {+ title: '体验',+ text: '信息架构、国际化和交互。',+ link: '/zh-CN/spec/04-ux/README',+ },+ {+ title: '安全',+ text: '权限、路径和隔离边界。',+ link: '/zh-CN/spec/05-security/README',+ },+ {+ title: '交付',+ text: '验收、E2E 和发布。',+ link: '/zh-CN/spec/06-delivery/README',+ },+ {+ title: '插件',+ text: '扩展包、API 和生命周期。',+ link: '/zh-CN/spec/07-plugins/README',+ },+ {+ title: '决策',+ text: 'ADR、决策日志和开放问题。',+ link: '/zh-CN/spec/08-meta/README',+ },+ ],+ snapshotLabel: '实现快照',+ snapshotTitle: '当前文档描述的版本线。',+ snapshot: [+ ['应用版本线', '0.15.2'],+ ['Host wire protocol', 'v9'],+ ['Storage schema', 'v11'],+ ['文档源语言', 'EN / 中文'],+ ],+ footerTitle: '准备好进入代码库了吗?',+ footerText: '从快速开始建立上下文,或者直接打开规格索引。',+ footerPrimary: '开始阅读',+ footerSecondary: '查看规格索引',+ footerPrimaryLink: '/zh-CN/guide/',+ footerSecondaryLink: '/zh-CN/spec/README',+ }+ : {+ tourLabel: 'Product tour',+ tourTitle: 'See the real workspace — not a concept diagram.',+ tourIntro:+ 'These are real PI-Desktop screens: sessions, panels, plugins, search, and model configuration in one persistent desktop environment.',+ tour: [+ {+ slug: 'home-light',+ title: 'Workspace home',+ meta: 'workspace',+ text: 'Projects, sessions, and orchestration state live in one persistent desktop environment.',+ link: '/guide/screenshots',+ feature: true,+ },+ {+ slug: 'panel-files',+ title: 'Files & preview panels',+ meta: 'panels',+ text: 'Work files, browser, and review side by side without a single IDE dependency.',+ link: '/guide/screenshots',+ },+ {+ slug: 'plugins-live',+ title: 'Plugin runtime',+ meta: 'plugins',+ text: 'Plugins extend more than tools — panels, views, services, and MCP.',+ link: '/plugin-development',+ },+ {+ slug: 'search',+ title: 'Global search',+ meta: 'search',+ text: 'Jump across sessions, pages, and settings without losing context.',+ link: '/guide/screenshots',+ },+ {+ slug: 'extensions-mcp',+ title: 'Extensions & MCP',+ meta: 'extensions',+ text: 'Subagents, skills, MCP, and permission boundaries stay inspectable.',+ link: '/guide/mcp-market',+ },+ {+ slug: 'settings-models',+ title: 'Models & providers',+ meta: 'models',+ text: 'Models stay replaceable. Provider configuration stays local.',+ link: '/guide/',+ },+ ],+ journeyLabel: 'Read by intent',+ journeyTitle: 'Start with the question you are solving.',+ intro:+ 'This is not a file dump. It is a map for locating, understanding, changing, and validating the system.',+ journeys: [+ {+ index: '01',+ label: 'ORIENT',+ title: 'Build the product model',+ text: 'Know what is shipped and what is deliberately out of scope.',+ link: '/guide/',+ },+ {+ index: '02',+ label: 'TRACE',+ title: 'Trace one request',+ text: 'Follow the path through Renderer, Electron, pi, Rust host, and SQLite.',+ link: '/spec/02-architecture/01-architecture',+ },+ {+ index: '03',+ label: 'EXTEND',+ title: 'Build a plugin',+ text: 'Move from package format to API, permissions, and lifecycle.',+ link: '/plugin-development',+ },+ {+ index: '04',+ label: 'SHIP',+ title: 'Validate a change',+ text: 'Connect the spec, implementation, E2E scenario, and delivery record.',+ link: '/spec/06-delivery/README',+ },+ ],+ mapLabel: 'System boundaries',+ mapTitle: 'Four layers of responsibility. One readable thread.',+ layers: [+ {+ name: 'Shell',+ detail: 'Electron',+ text: 'Windows, preload IPC, lifecycle, and platform capabilities.',+ },+ {+ name: 'Agent',+ detail: 'pi sidecar',+ text: 'Agent loop, tools, context, and provider-facing model work.',+ },+ {+ name: 'Host',+ detail: 'Rust core',+ text: 'Permissions, processes, filesystem, RPC, and cancellation.',+ },+ {+ name: 'State',+ detail: 'SQLite',+ text: 'Sessions, configuration, checkpoints, plugins, and ownership.',+ },+ ],+ shelfLabel: 'Spec map',+ shelfTitle: 'Go deep by topic, not by getting lost in the file tree.',+ shelves: [+ {+ title: 'Product',+ text: 'Scope, modes, and non-goals.',+ link: '/spec/01-product/README',+ },+ {+ title: 'Architecture',+ text: 'Processes, data, and structure.',+ link: '/spec/02-architecture/README',+ },+ {+ title: 'Runtime',+ text: 'Protocols, tools, host, and models.',+ link: '/spec/03-runtime/README',+ },+ {+ title: 'Experience',+ text: 'IA, internationalization, and interaction.',+ link: '/spec/04-ux/README',+ },+ {+ title: 'Security',+ text: 'Permissions, paths, and isolation.',+ link: '/spec/05-security/README',+ },+ {+ title: 'Delivery',+ text: 'Acceptance, E2E, and release.',+ link: '/spec/06-delivery/README',+ },+ {+ title: 'Plugins',+ text: 'Packages, APIs, and lifecycle.',+ link: '/spec/07-plugins/README',+ },+ {+ title: 'Decisions',+ text: 'ADRs, decisions, and open questions.',+ link: '/spec/08-meta/README',+ },+ ],+ snapshotLabel: 'Implementation snapshot',+ snapshotTitle: 'The line this documentation describes.',+ snapshot: [+ ['Application line', '0.15.2'],+ ['Host wire protocol', 'v9'],+ ['Storage schema', 'v11'],+ ['Source languages', 'EN / 中文'],+ ],+ footerTitle: 'Ready to enter the codebase?',+ footerText:+ 'Build context with the guide, or open the full specification index.',+ footerPrimary: 'Start reading',+ footerSecondary: 'Open spec index',+ footerPrimaryLink: '/guide/',+ footerSecondaryLink: '/spec/README',+ }+)++function shotSrc(slug: string) {+ return `/screenshots/app/${localeFolder.value}/${slug}.webp`+}</script><template><div class="home-modules">- <section class="home-block home-block--journeys" aria-labelledby="home-journeys-title">+ <section class="home-block home-block--tour" aria-labelledby="home-tour-title">+ <div class="home-block__heading">+ <div>+ <p class="home-kicker">{{ copy.tourLabel }}</p>+ <h2 id="home-tour-title">{{ copy.tourTitle }}</h2>+ </div>+ <p class="home-block__intro">{{ copy.tourIntro }}</p>+ </div>+ <div class="home-tour">+ <a+ v-for="shot in copy.tour"+ :key="shot.slug"+ class="home-shot"+ :class="{ 'home-shot--feature': shot.feature }"+ :href="shot.link"+ >+ <div class="home-shot__frame">+ <img+ :src="shotSrc(shot.slug)"+ :alt="shot.title"+ width="1600"+ height="1067"+ loading="lazy"+ decoding="async"+ />+ </div>+ <figcaption>+ <span class="home-shot__title">{{ shot.title }}</span>+ <span class="home-shot__meta">{{ shot.meta }}</span>+ <span class="home-shot__text">{{ shot.text }}</span>+ </figcaption>+ </a>+ </div>+ </section>++ <section+ class="home-block home-block--journeys"+ aria-labelledby="home-journeys-title"+ ><div class="home-block__heading"><div><p class="home-kicker">{{ copy.journeyLabel }}</p>@@ -102,14 +400,19 @@ const copy = computed(() => isZh.value ? {<p class="home-block__intro">{{ copy.intro }}</p></div><div class="home-journeys">- <a v-for="journey in copy.journeys" :key="journey.index" class="home-journey" :href="journey.link">+ <a+ v-for="journey in copy.journeys"+ :key="journey.index"+ class="home-journey"+ :href="journey.link"+ ><span class="home-journey__index">{{ journey.index }}</span><span class="home-journey__content"><span class="home-journey__label">{{ journey.label }}</span><strong>{{ journey.title }}</strong><span>{{ journey.text }}</span></span>- <span class="home-link-arrow" aria-hidden="true">↗</span>+ <span class="home-link-arrow" aria-hidden="true">→</span></a></div></section>@@ -121,17 +424,26 @@ const copy = computed(() => isZh.value ? {<h2 id="home-map-title">{{ copy.mapTitle }}</h2></div></div>- <div class="home-layers" role="list">- <div v-for="(layer, index) in copy.layers" :key="layer.name" class="home-layer" role="listitem">- <span class="home-layer__number">0{{ index + 1 }}</span>- <span class="home-layer__name">{{ layer.name }}</span>- <span class="home-layer__detail">{{ layer.detail }}</span>+ <div class="home-spine" role="list">+ <div+ v-for="layer in copy.layers"+ :key="layer.name"+ class="home-layer"+ role="listitem"+ >+ <div class="home-layer__head">+ <span class="home-layer__name">{{ layer.name }}</span>+ <span class="home-layer__detail">{{ layer.detail }}</span>+ </div><span class="home-layer__text">{{ layer.text }}</span></div></div></section>- <section class="home-block home-block--shelf" aria-labelledby="home-shelf-title">+ <section+ class="home-block home-block--shelf"+ aria-labelledby="home-shelf-title"+ ><div class="home-block__heading"><div><p class="home-kicker">{{ copy.shelfLabel }}</p>@@ -139,8 +451,15 @@ const copy = computed(() => isZh.value ? {</div></div><div class="home-shelf">- <a v-for="(shelf, index) in copy.shelves" :key="shelf.title" class="home-shelf__item" :href="shelf.link">- <span class="home-shelf__number">{{ String(index + 1).padStart(2, '0') }}</span>+ <a+ v-for="(shelf, index) in copy.shelves"+ :key="shelf.title"+ class="home-shelf__item"+ :href="shelf.link"+ >+ <span class="home-shelf__number">{{+ String(index + 1).padStart(2, '0')+ }}</span><strong>{{ shelf.title }}</strong><span>{{ shelf.text }}</span><span class="home-link-arrow" aria-hidden="true">→</span>@@ -163,13 +482,19 @@ const copy = computed(() => isZh.value ? {<section class="home-cta" aria-labelledby="home-cta-title"><div>- <p class="home-kicker">{{ copy.eyebrow }}</p>+ <p class="home-kicker">PI-Desktop</p><h2 id="home-cta-title">{{ copy.footerTitle }}</h2><p>{{ copy.footerText }}</p></div><div class="home-cta__actions">- <a class="home-button home-button--primary" :href="copy.footerPrimaryLink">{{ copy.footerPrimary }}</a>- <a class="home-button home-button--secondary" :href="copy.footerSecondaryLink">{{ copy.footerSecondary }}</a>+ <a class="home-button home-button--primary" :href="copy.footerPrimaryLink">{{+ copy.footerPrimary+ }}</a>+ <a+ class="home-button home-button--secondary"+ :href="copy.footerSecondaryLink"+ >{{ copy.footerSecondary }}</a+ ></div></section></div>diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.tsindex 0f50ed15a..f95631b70 100644--- a/docs/.vitepress/theme/index.ts+++ b/docs/.vitepress/theme/index.ts@@ -5,4 +5,7 @@ import './style.css'export default {extends: DefaultTheme,Layout,+ enhanceApp() {+ // Theme only. No runtime plugins.+ },}diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.cssindex b21b3f7f0..fbbda350a 100644--- a/docs/.vitepress/theme/style.css+++ b/docs/.vitepress/theme/style.css@@ -1,41 +1,111 @@+/*+ PI-Desktop docs theme — product-aligned monochrome.+ Surfaces follow the Codex charcoal system in apps/desktop/src/styles/tokens.css.+ Accent is neutral (near-white / near-black), not a marketing blue.+*/+:root {- --vp-c-brand-1: #0a84ff;- --vp-c-brand-2: #0876e5;- --vp-c-brand-3: #0069cc;- --vp-c-brand-soft: rgba(10, 132, 255, 0.1);- --vp-font-family-base: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;- --vp-font-family-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;- --vp-c-bg: #ffffff;- --vp-c-bg-alt: #f6f8fb;- --vp-c-bg-elv: #ffffff;- --vp-c-bg-soft: #f3f6fa;- --vp-c-divider: #e2e7ef;- --vp-c-gutter: #eef2f7;- --vp-c-text-1: #172033;- --vp-c-text-2: #4d5b70;- --vp-c-text-3: #738096;- --vp-layout-max-width: 1520px;- --vp-sidebar-width: 280px;- --docs-reading-width: 780px;+ color-scheme: light;++ /* Ink & surfaces (light) */+ --docs-bg: #f7f7f5;+ --docs-bg-elevated: #ffffff;+ --docs-bg-soft: #efefec;+ --docs-bg-inset: #e8e8e4;+ --docs-line: rgba(12, 12, 12, 0.1);+ --docs-line-strong: rgba(12, 12, 12, 0.16);+ --docs-text-1: #141414;+ --docs-text-2: #4a4a48;+ --docs-text-3: #7a7a76;++ /* Neutral accent — matches product --ds-accent polarity */+ --docs-accent: #141414;+ --docs-accent-soft: rgba(20, 20, 20, 0.08);+ --docs-accent-contrast: #f7f7f5;+ --docs-link: #141414;++ --docs-stage-glow: rgba(20, 20, 20, 0.08);+ --docs-stage-frame: rgba(12, 12, 12, 0.14);+ --docs-shadow: 0 24px 64px rgba(12, 12, 12, 0.1);+ --docs-shadow-soft: 0 10px 30px rgba(12, 12, 12, 0.06);++ /* VitePress mapping */+ --vp-c-brand-1: #141414;+ --vp-c-brand-2: #2a2a28;+ --vp-c-brand-3: #3f3f3c;+ --vp-c-brand-soft: rgba(20, 20, 20, 0.08);+ --vp-c-bg: var(--docs-bg);+ --vp-c-bg-alt: var(--docs-bg-soft);+ --vp-c-bg-elv: var(--docs-bg-elevated);+ --vp-c-bg-soft: var(--docs-bg-soft);+ --vp-c-divider: var(--docs-line);+ --vp-c-gutter: var(--docs-bg-inset);+ --vp-c-text-1: var(--docs-text-1);+ --vp-c-text-2: var(--docs-text-2);+ --vp-c-text-3: var(--docs-text-3);+ --vp-c-default-1: var(--docs-text-1);+ --vp-c-default-2: var(--docs-text-2);+ --vp-c-default-3: var(--docs-text-3);+ --vp-c-default-soft: var(--docs-accent-soft);++ --vp-font-family-base: -apple-system, BlinkMacSystemFont, 'SF Pro Text',+ 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui,+ sans-serif;+ --vp-font-family-mono: 'SF Mono', ui-monospace, 'JetBrains Mono', Menlo,+ Consolas, monospace;++ --vp-layout-max-width: 1480px;+ --vp-sidebar-width: 268px;+ --vp-nav-height: 64px;++ --docs-reading-width: 748px;--docs-home-width: 1120px;--docs-radius-sm: 8px;- --docs-radius-md: 12px;- --docs-radius-lg: 18px;- --docs-shadow: 0 14px 40px rgba(27, 43, 70, 0.08);+ --docs-radius-md: 14px;+ --docs-radius-lg: 20px;+ --docs-radius-xl: 28px;}.dark {- --vp-c-bg: #0e1420;- --vp-c-bg-alt: #111a28;- --vp-c-bg-elv: #172131;- --vp-c-bg-soft: #151e2d;- --vp-c-divider: #293548;- --vp-c-gutter: #1b2637;- --vp-c-text-1: #f4f7fb;- --vp-c-text-2: #b6c1d0;- --vp-c-text-3: #8492a7;- --vp-c-brand-soft: rgba(74, 161, 255, 0.14);- --docs-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);+ color-scheme: dark;++ --docs-bg: #0d0d0d;+ --docs-bg-elevated: #181818;+ --docs-bg-soft: #141414;+ --docs-bg-inset: #0a0a0a;+ --docs-line: rgba(255, 255, 255, 0.08);+ --docs-line-strong: rgba(255, 255, 255, 0.14);+ --docs-text-1: #f5f5f3;+ --docs-text-2: rgba(255, 255, 255, 0.7);+ --docs-text-3: rgba(255, 255, 255, 0.48);++ --docs-accent: #f5f5f3;+ --docs-accent-soft: rgba(255, 255, 255, 0.08);+ --docs-accent-contrast: #0d0d0d;+ --docs-link: #f5f5f3;++ --docs-stage-glow: rgba(255, 255, 255, 0.07);+ --docs-stage-frame: rgba(255, 255, 255, 0.14);+ --docs-shadow: 0 28px 72px rgba(0, 0, 0, 0.45);+ --docs-shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.28);++ --vp-c-brand-1: #f5f5f3;+ --vp-c-brand-2: #d8d8d4;+ --vp-c-brand-3: #b0b0aa;+ --vp-c-brand-soft: rgba(255, 255, 255, 0.08);+ --vp-c-bg: var(--docs-bg);+ --vp-c-bg-alt: var(--docs-bg-soft);+ --vp-c-bg-elv: var(--docs-bg-elevated);+ --vp-c-bg-soft: var(--docs-bg-soft);+ --vp-c-divider: var(--docs-line);+ --vp-c-gutter: var(--docs-bg-inset);+ --vp-c-text-1: var(--docs-text-1);+ --vp-c-text-2: var(--docs-text-2);+ --vp-c-text-3: var(--docs-text-3);+ --vp-c-default-1: var(--docs-text-1);+ --vp-c-default-2: var(--docs-text-2);+ --vp-c-default-3: var(--docs-text-3);+ --vp-c-default-soft: var(--docs-accent-soft);}* {@@ -43,123 +113,149 @@}html {- background: var(--vp-c-bg);- scroll-padding-top: 88px;+ background: var(--docs-bg);+ scroll-padding-top: calc(var(--vp-nav-height) + 16px);}body {min-width: 320px;overflow-x: hidden;- background: var(--vp-c-bg);+ background: var(--docs-bg);text-rendering: optimizeLegibility;+ -webkit-font-smoothing: antialiased;+ -moz-osx-font-smoothing: grayscale;}::selection {- color: #fff;- background: var(--vp-c-brand-1);+ color: var(--docs-accent-contrast);+ background: var(--docs-accent);}:focus-visible {- outline: 3px solid color-mix(in srgb, var(--vp-c-brand-1) 38%, transparent);+ outline: 2px solid color-mix(in srgb, var(--docs-accent) 70%, transparent);outline-offset: 3px;}+/* ——— Nav ——— */+.VPNavBar {- background: color-mix(in srgb, var(--vp-c-bg) 94%, transparent);- border-bottom: 1px solid var(--vp-c-divider);- backdrop-filter: blur(16px) saturate(150%);+ position: sticky;+ top: 0;+ z-index: 30;+ background: color-mix(in srgb, var(--docs-bg) 90%, transparent);+ border-bottom: 1px solid transparent;+ backdrop-filter: blur(18px) saturate(140%);+}++.VPNavBar:not(.home) {+ border-bottom-color: var(--docs-line);}.VPNavBarTitle .title {- font-weight: 700;+ font-weight: 650;letter-spacing: -0.03em;}.VPNavBarTitle .logo {- width: 24px;- height: 24px;+ width: 22px;+ height: 22px;+ border-radius: 6px;}.VPNavBarMenuLink,.VPNavScreenMenuLink,.VPLink,.VPSidebarItem .text {- transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;+ transition: color 160ms ease, background-color 160ms ease,+ border-color 160ms ease;}.VPNavBarMenuLink:hover,.VPNavBarMenuLink.active,.VPNavScreenMenuLink:hover,.VPLink:hover {- color: var(--vp-c-brand-1);+ color: var(--docs-accent);}.DocSearch-Button {- border: 1px solid var(--vp-c-divider);- border-radius: var(--docs-radius-sm);- background: var(--vp-c-bg-soft);+ border: 1px solid var(--docs-line);+ border-radius: 999px;+ background: var(--docs-accent-soft);+ transition: border-color 160ms ease, background-color 160ms ease;+}++.DocSearch-Button:hover {+ border-color: var(--docs-line-strong);+ background: var(--docs-bg-elevated);}+/* ——— Sidebar ——— */+.VPSidebar {- padding-right: 20px;- padding-left: 20px;- border-right: 1px solid var(--vp-c-divider);- background: var(--vp-c-bg-alt);+ padding-right: 18px;+ padding-left: 18px;+ border-right: 1px solid var(--docs-line);+ background: color-mix(in srgb, var(--docs-bg) 88%, transparent);}.VPSidebarItem.level-0 {- padding-bottom: 12px;+ padding-bottom: 10px;}.VPSidebarItem.level-0 + .VPSidebarItem.level-0 {- padding-top: 18px;- border-top: 1px solid var(--vp-c-divider);+ padding-top: 16px;+ border-top: 1px solid var(--docs-line);}.VPSidebarItem.level-0 > .item > .text {- color: var(--vp-c-text-1);- font-size: 0.75rem;- font-weight: 700;- letter-spacing: 0.055em;+ color: var(--docs-text-3);+ font-family: var(--vp-font-family-mono);+ font-size: 0.68rem;+ font-weight: 600;+ letter-spacing: 0.08em;text-transform: uppercase;}[lang='zh-CN'] .VPSidebarItem.level-0 > .item > .text {- letter-spacing: 0.08em;+ font-family: var(--vp-font-family-base);+ letter-spacing: 0.04em;+ text-transform: none;}.VPSidebarItem.level-1 .item {- min-height: 30px;+ min-height: 32px;}.VPSidebarItem.level-1 .text {overflow: hidden;- font-size: 0.86rem;+ font-size: 0.875rem;line-height: 1.4;text-overflow: ellipsis;white-space: nowrap;}.VPSidebarItem.is-active > .item > .link {- margin: 0 -10px;- padding: 5px 10px;- border-radius: 7px;- background: var(--vp-c-brand-soft);+ margin: 0 -8px;+ padding: 6px 8px;+ border-radius: 8px;+ background: var(--docs-accent-soft);}.VPSidebarItem.is-active > .item > .link > .text {- color: var(--vp-c-brand-1);+ color: var(--docs-text-1);font-weight: 600;}+/* ——— Doc reading ——— */+.VPDoc {- padding-top: 52px;- padding-bottom: 76px;+ padding-top: 48px;+ padding-bottom: 72px;}.VPDoc .container {width: 100%;- max-width: 1180px;+ max-width: 1200px;margin: 0 auto;}@@ -178,58 +274,65 @@ body {}.VPDocAsideOutline {- border-left-color: var(--vp-c-divider);+ border-left-color: var(--docs-line);}.VPDocAsideOutline .outline-title {- color: var(--vp-c-text-1);- font-size: 0.78rem;- font-weight: 700;- letter-spacing: 0.04em;+ color: var(--docs-text-3);+ font-family: var(--vp-font-family-mono);+ font-size: 0.7rem;+ font-weight: 600;+ letter-spacing: 0.08em;text-transform: uppercase;}+[lang='zh-CN'] .VPDocAsideOutline .outline-title {+ font-family: var(--vp-font-family-base);+ letter-spacing: 0.02em;+ text-transform: none;+}+.VPDocAsideOutline .outline-link {- font-size: 0.78rem;+ font-size: 0.8rem;line-height: 1.5;}.vp-doc {- color: var(--vp-c-text-2);+ color: var(--docs-text-2);font-size: 16px;- line-height: 1.8;+ line-height: 1.78;}.vp-doc h1,.vp-doc h2,.vp-doc h3,.vp-doc h4 {- color: var(--vp-c-text-1);+ color: var(--docs-text-1);font-weight: 650;letter-spacing: -0.035em;}.vp-doc h1 {- margin-bottom: 20px;- font-family: var(--vp-font-family-mono);- font-size: clamp(2rem, 4vw, 2.75rem);- line-height: 1.16;+ margin-bottom: 18px;+ font-family: var(--vp-font-family-base);+ font-size: clamp(2rem, 4vw, 2.65rem);+ line-height: 1.15;}.vp-doc h1 + blockquote {- margin-top: 24px;+ margin-top: 22px;}.vp-doc h2 {- margin-top: 56px;- padding-top: 36px;- border-top: 1px solid var(--vp-c-divider);- font-size: 1.55rem;+ margin-top: 52px;+ padding-top: 34px;+ border-top: 1px solid var(--docs-line);+ font-size: 1.45rem;}.vp-doc h3 {- margin-top: 36px;- font-size: 1.2rem;+ margin-top: 34px;+ font-size: 1.15rem;}.vp-doc p,@@ -238,24 +341,25 @@ body {}.vp-doc a {- font-weight: 500;+ color: var(--docs-link);+ font-weight: 550;text-decoration-thickness: 1px;text-underline-offset: 3px;}.vp-doc :not(pre) > code {- border: 1px solid color-mix(in srgb, var(--vp-c-brand-1) 18%, var(--vp-c-divider));+ border: 1px solid var(--docs-line);border-radius: 5px;- background: var(--vp-c-brand-soft);+ background: var(--docs-accent-soft);font-size: 0.86em;}.vp-doc div[class*='language-'] {max-width: 100%;margin: 22px 0;- border: 1px solid var(--vp-c-divider);+ border: 1px solid var(--docs-line);border-radius: var(--docs-radius-md);- box-shadow: 0 8px 22px rgba(27, 43, 70, 0.06);+ box-shadow: var(--docs-shadow-soft);}.vp-doc table {@@ -269,8 +373,9 @@ body {max-width: 100%;margin: 24px 0;overflow-x: auto;- border: 1px solid var(--vp-c-divider);+ border: 1px solid var(--docs-line);border-radius: var(--docs-radius-md);+ -webkit-overflow-scrolling: touch;}.vp-doc .table-wrapper table {@@ -278,9 +383,9 @@ body {}.vp-doc th {- color: var(--vp-c-text-1);- background: var(--vp-c-bg-soft);- font-size: 0.86rem;+ color: var(--docs-text-1);+ background: var(--docs-bg-soft);+ font-size: 0.84rem;font-weight: 650;white-space: nowrap;}@@ -293,16 +398,16 @@ body {.vp-doc th,.vp-doc td {padding: 11px 14px;- border-color: var(--vp-c-divider);+ border-color: var(--docs-line);}.vp-doc blockquote {margin: 22px 0;padding: 16px 18px;- border-left: 3px solid var(--vp-c-brand-1);+ border-left: 2px solid var(--docs-accent);border-radius: 0 var(--docs-radius-sm) var(--docs-radius-sm) 0;- color: var(--vp-c-text-2);- background: var(--vp-c-brand-soft);+ color: var(--docs-text-2);+ background: var(--docs-accent-soft);}.vp-doc blockquote p {@@ -314,137 +419,161 @@ body {max-width: 100%;height: auto;margin: 28px auto;- border: 1px solid var(--vp-c-divider);+ border: 1px solid var(--docs-line);border-radius: var(--docs-radius-md);- box-shadow: var(--docs-shadow);+ box-shadow: var(--docs-shadow-soft);}.VPDocFooter {- margin-top: 56px;- padding-top: 24px;- border-top: 1px solid var(--vp-c-divider);+ margin-top: 52px;+ padding-top: 22px;+ border-top: 1px solid var(--docs-line);}.pager-link {- border-color: var(--vp-c-divider);+ border-color: var(--docs-line);border-radius: var(--docs-radius-md);- background: var(--vp-c-bg-alt);+ background: var(--docs-bg-elevated);}.pager-link:hover {- border-color: var(--vp-c-brand-1);+ border-color: var(--docs-line-strong);}+/* ——— Home shell ——— */+.VPHome {overflow: hidden;- background: var(--vp-c-bg);+ background: var(--docs-bg);}.VPHero {- max-width: var(--docs-home-width);+ position: relative;+ max-width: 1120px;margin: 0 auto;- padding: 94px 0 72px;+ /* Cancel VitePress's negative top margin that pulls the hero under the fixed nav. */+ margin-top: 0 !important;+ padding: 48px 0 24px;}.VPHero .container {+ display: flex;+ flex-direction: column;align-items: center;- gap: 72px;+ gap: 40px;+ text-align: center;}.VPHero .main {min-width: 0;+ width: 100%;}.VPHero .name,.VPHero .text {- max-width: 650px;- font-family: var(--vp-font-family-mono);- letter-spacing: -0.065em;+ max-width: 720px;+ margin-right: auto;+ margin-left: auto;+ font-family: var(--vp-font-family-base);+ letter-spacing: -0.045em;}.VPHero .name {- color: var(--vp-c-text-1);- font-size: clamp(3.4rem, 6vw, 5.25rem);+ color: var(--docs-text-1);+ font-size: clamp(2.8rem, 6vw, 4.4rem);font-weight: 700;line-height: 1;}.VPHero .text {- padding-top: 8px;- color: var(--vp-c-brand-1);- font-size: clamp(1.55rem, 2.8vw, 2.25rem);+ padding-top: 12px;+ color: var(--docs-text-1);+ font-size: clamp(1.45rem, 2.6vw, 2.05rem);font-weight: 600;- line-height: 1.2;+ line-height: 1.18;}.VPHero .tagline {- max-width: 620px;+ max-width: 560px;+ margin-right: auto;+ margin-left: auto;padding-top: 18px;- color: var(--vp-c-text-2);- font-size: 1.04rem;+ color: var(--docs-text-2);+ font-size: 1.02rem;line-height: 1.7;}.VPHero .actions {+ justify-content: center;gap: 10px;- padding-top: 26px;+ padding-top: 28px;}.VPHero .action,.VPButton {- border-radius: 9px;- font-weight: 650;+ border-radius: 999px;+ font-weight: 600;+ transition: background-color 160ms ease, border-color 160ms ease,+ transform 160ms ease;}-.VPButton.brand,-.home-button--primary {- box-shadow: 0 9px 22px rgba(10, 132, 255, 0.2);+.VPButton.brand {+ box-shadow: none;}-.VPFeatures {- max-width: var(--docs-home-width);- margin: 0 auto;- padding: 0 0 68px !important;+.VPButton.brand:hover {+ transform: translateY(-1px);}-.VPFeature {- border: 1px solid var(--vp-c-divider) !important;- border-radius: var(--docs-radius-md) !important;- background: var(--vp-c-bg-alt) !important;- box-shadow: none;- transition: border-color 180ms ease, background-color 180ms ease;+/* Hero product stage (image slot) — full-width laptop shot under copy */++.VPHero .image {+ order: 2;+ width: min(100%, 980px);+ min-height: 0;+ margin: 0 !important;}-.VPFeature:hover {- border-color: color-mix(in srgb, var(--vp-c-brand-1) 55%, var(--vp-c-divider)) !important;- background: var(--vp-c-bg-elv) !important;+.VPHero .image-container {+ position: relative !important;+ width: 100% !important;+ height: auto !important;+ transform: none !important;}-.VPFeature .title {- color: var(--vp-c-text-1);- letter-spacing: -0.02em;+.VPHero .image-bg {+ display: none !important;}-.VPFeature .details {- color: var(--vp-c-text-2);- line-height: 1.65;+.VPHero .image-src {+ position: static !important;+ top: auto !important;+ left: auto !important;+ max-width: none !important;+ max-height: none !important;+ transform: none !important;}+/* HomeModules owns the homepage story; frontmatter features stay unused. */+.VPHome .vp-doc {max-width: var(--docs-home-width);- padding: 0 0 100px;+ padding: 0 0 96px;}+/* ——— Home modules ——— */+.home-modules {width: 100%;max-width: var(--docs-home-width);margin: 0 auto;+ padding: 0 24px 40px;}.home-block,.home-snapshot,.home-cta {- border-top: 1px solid var(--vp-c-divider);+ border-top: 1px solid var(--docs-line);}.home-block {@@ -453,47 +582,134 @@ body {.home-block__heading {display: grid;- grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);- gap: 68px;+ grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);+ gap: 48px;align-items: end;margin-bottom: 32px;}.home-block__heading--compact {display: block;+ max-width: 640px;}.home-kicker {margin: 0 0 12px;- color: var(--vp-c-brand-1);+ color: var(--docs-text-3);font-family: var(--vp-font-family-mono);font-size: 0.68rem;- font-weight: 700;- letter-spacing: 0.13em;+ font-weight: 600;+ letter-spacing: 0.12em;line-height: 1.4;text-transform: uppercase;}+[lang='zh-CN'] .home-kicker {+ font-family: var(--vp-font-family-base);+ letter-spacing: 0.06em;+}+.home-block h2,.home-snapshot h2,.home-cta h2 {- max-width: 600px;+ max-width: 560px;margin: 0;- color: var(--vp-c-text-1);- font-family: var(--vp-font-family-mono);- font-size: clamp(1.45rem, 2.4vw, 2.05rem);- letter-spacing: -0.055em;- line-height: 1.18;+ color: var(--docs-text-1);+ font-family: var(--vp-font-family-base);+ font-size: clamp(1.55rem, 2.5vw, 2.1rem);+ letter-spacing: -0.04em;+ line-height: 1.16;}.home-block__intro {- max-width: 470px;+ max-width: 460px;margin: 0;- color: var(--vp-c-text-2);- font-size: 0.96rem;- line-height: 1.72;+ color: var(--docs-text-2);+ font-size: 0.98rem;+ line-height: 1.7;+}++/* Product tour / screenshot gallery */++.home-tour {+ display: grid;+ grid-template-columns: repeat(2, minmax(0, 1fr));+ gap: 18px;+}++.home-shot {+ display: grid;+ gap: 12px;+ min-width: 0;+ margin: 0;+ color: inherit !important;+ text-decoration: none !important;+}++.home-shot--feature {+ grid-column: 1 / -1;}+.home-shot__frame {+ position: relative;+ overflow: hidden;+ border: 1px solid color-mix(in srgb, var(--docs-text-1) 12%, transparent);+ border-radius: var(--docs-radius-lg);+ background: var(--docs-bg-elevated);+ box-shadow: var(--docs-shadow-soft);+ aspect-ratio: 16 / 10.5;+ transition: border-color 180ms ease, transform 180ms ease,+ box-shadow 180ms ease;+}++.home-shot:hover .home-shot__frame {+ border-color: var(--docs-line-strong);+ box-shadow: var(--docs-shadow);+ transform: translateY(-2px);+}++.home-shot__frame img {+ display: block;+ width: 100%;+ height: 100%;+ object-fit: cover;+ object-position: top center;+ border: 0;+ border-radius: 0;+ margin: 0;+ box-shadow: none;+}++.home-shot figcaption {+ display: grid;+ grid-template-columns: minmax(0, 1fr) auto;+ gap: 12px;+ align-items: baseline;+ padding: 0 2px;+}++.home-shot__title {+ color: var(--docs-text-1);+ font-size: 0.95rem;+ font-weight: 600;+ letter-spacing: -0.01em;+}++.home-shot__meta {+ color: var(--docs-text-3);+ font-family: var(--vp-font-family-mono);+ font-size: 0.7rem;+}++.home-shot__text {+ grid-column: 1 / -1;+ color: var(--docs-text-2);+ font-size: 0.86rem;+ line-height: 1.55;+}++/* Journeys */+.home-journeys {display: grid;grid-template-columns: repeat(2, minmax(0, 1fr));@@ -502,29 +718,29 @@ body {.home-journey {display: grid;- grid-template-columns: 38px minmax(0, 1fr) 22px;+ grid-template-columns: 34px minmax(0, 1fr) 18px;gap: 14px;- min-height: 142px;+ min-height: 136px;padding: 22px;- border: 1px solid var(--vp-c-divider);+ border: 1px solid var(--docs-line);border-radius: var(--docs-radius-md);color: inherit !important;- background: var(--vp-c-bg-alt);+ background: var(--docs-bg-elevated);text-decoration: none !important;- transition: border-color 180ms ease, background-color 180ms ease;+ transition: border-color 160ms ease, background-color 160ms ease,+ transform 160ms ease;}.home-journey:hover {- border-color: var(--vp-c-brand-1);- background: var(--vp-c-bg-elv);+ border-color: var(--docs-line-strong);+ transform: translateY(-1px);}-.home-journey__index,-.home-shelf__number,-.home-layer__number {- color: var(--vp-c-text-3);+.home-journey__index {+ color: var(--docs-text-3);font-family: var(--vp-font-family-mono);font-size: 0.72rem;+ padding-top: 3px;}.home-journey__content {@@ -534,92 +750,104 @@ body {}.home-journey__label {- color: var(--vp-c-brand-1);+ color: var(--docs-text-3);font-family: var(--vp-font-family-mono);font-size: 0.64rem;- font-weight: 700;+ font-weight: 600;letter-spacing: 0.12em;}-.home-journey strong,-.home-shelf__item strong {- color: var(--vp-c-text-1);- font-size: 0.98rem;+.home-journey strong {+ color: var(--docs-text-1);+ font-size: 1rem;+ letter-spacing: -0.015em;}-.home-journey__content > span:last-child,-.home-shelf__item > span:nth-child(3) {- color: var(--vp-c-text-2);- font-size: 0.86rem;+.home-journey__content > span:last-child {+ color: var(--docs-text-2);+ font-size: 0.88rem;line-height: 1.55;}.home-link-arrow {- color: var(--vp-c-brand-1);+ color: var(--docs-text-3);font-family: var(--vp-font-family-mono);text-align: right;}-.home-layers {+/* Architecture spine */++.home-spine {display: grid;grid-template-columns: repeat(4, minmax(0, 1fr));+ gap: 0;overflow: hidden;- border: 1px solid var(--vp-c-divider);+ border: 1px solid var(--docs-line);border-radius: var(--docs-radius-md);- background: var(--vp-c-divider);- gap: 1px;+ background: var(--docs-bg-elevated);}.home-layer {+ position: relative;display: grid;- grid-template-columns: auto 1fr;- gap: 8px 13px;+ gap: 10px;min-width: 0;- padding: 20px 18px 22px;- background: var(--vp-c-bg-elv);+ padding: 24px 20px;+ border-right: 1px solid var(--docs-line);+}++.home-layer:last-child {+ border-right: 0;+}++.home-layer__head {+ display: flex;+ align-items: baseline;+ justify-content: space-between;+ gap: 10px;}.home-layer__name {- color: var(--vp-c-text-1);- font-family: var(--vp-font-family-mono);- font-size: 0.9rem;- font-weight: 700;+ color: var(--docs-text-1);+ font-size: 1rem;+ font-weight: 650;+ letter-spacing: -0.02em;}.home-layer__detail {- grid-column: 2;- margin-top: -4px;- color: var(--vp-c-brand-1);+ color: var(--docs-text-3);font-family: var(--vp-font-family-mono);- font-size: 0.66rem;+ font-size: 0.68rem;}.home-layer__text {- grid-column: 1 / -1;- color: var(--vp-c-text-2);- font-size: 0.82rem;+ color: var(--docs-text-2);+ font-size: 0.86rem;line-height: 1.55;}+/* Spec shelf */+.home-shelf {display: grid;grid-template-columns: repeat(4, minmax(0, 1fr));overflow: hidden;- border: 1px solid var(--vp-c-divider);+ border: 1px solid var(--docs-line);border-radius: var(--docs-radius-md);+ background: var(--docs-bg-elevated);}.home-shelf__item {display: grid;- grid-template-columns: 28px minmax(0, 1fr) 18px;+ grid-template-columns: 28px minmax(0, 1fr) 16px;gap: 8px 12px;- min-height: 116px;+ min-height: 118px;padding: 18px;- border-right: 1px solid var(--vp-c-divider);- border-bottom: 1px solid var(--vp-c-divider);+ border-right: 1px solid var(--docs-line);+ border-bottom: 1px solid var(--docs-line);color: inherit !important;text-decoration: none !important;- transition: background-color 180ms ease;+ transition: background-color 160ms ease;}.home-shelf__item:nth-child(4n) {@@ -631,38 +859,59 @@ body {}.home-shelf__item:hover {- background: var(--vp-c-brand-soft);+ background: var(--docs-accent-soft);+}++.home-shelf__number {+ color: var(--docs-text-3);+ font-family: var(--vp-font-family-mono);+ font-size: 0.7rem;+ padding-top: 2px;+}++.home-shelf__item strong {+ color: var(--docs-text-1);+ font-size: 0.98rem;}.home-shelf__item > span:nth-child(3) {grid-column: 2 / -1;+ color: var(--docs-text-2);+ font-size: 0.86rem;+ line-height: 1.5;+}++.home-shelf__item .home-link-arrow {+ padding-top: 2px;}+/* Snapshot */+.home-snapshot {display: grid;- grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);- gap: 68px;+ grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);+ gap: 48px;align-items: end;padding: 44px 0;}.home-snapshot h2 {- font-size: clamp(1.2rem, 2vw, 1.6rem);+ font-size: clamp(1.2rem, 2vw, 1.55rem);}.home-snapshot__grid {display: grid;grid-template-columns: repeat(4, minmax(0, 1fr));overflow: hidden;- border: 1px solid var(--vp-c-divider);+ border: 1px solid var(--docs-line);border-radius: var(--docs-radius-md);+ background: var(--docs-bg-elevated);}.home-snapshot__grid > div {min-width: 0;- padding: 14px;- border-right: 1px solid var(--vp-c-divider);- background: var(--vp-c-bg-alt);+ padding: 14px 16px;+ border-right: 1px solid var(--docs-line);}.home-snapshot__grid > div:last-child {@@ -676,32 +925,35 @@ body {.home-snapshot__grid span {margin-bottom: 8px;- color: var(--vp-c-text-3);- font-size: 0.67rem;+ color: var(--docs-text-3);+ font-size: 0.7rem;line-height: 1.35;}.home-snapshot__grid strong {overflow: hidden;- color: var(--vp-c-text-1);+ color: var(--docs-text-1);font-family: var(--vp-font-family-mono);- font-size: 0.82rem;+ font-size: 0.84rem;text-overflow: ellipsis;white-space: nowrap;}+/* CTA */+.home-cta {display: flex;align-items: end;justify-content: space-between;gap: 36px;- padding: 72px 0 20px;+ padding: 72px 0 24px;}.home-cta p:last-child {margin: 14px 0 0;- color: var(--vp-c-text-2);- font-size: 0.92rem;+ color: var(--docs-text-2);+ font-size: 0.95rem;+ line-height: 1.65;}.home-cta__actions {@@ -715,205 +967,104 @@ body {display: inline-flex;align-items: center;justify-content: center;- min-height: 42px;- padding: 0 16px;+ min-height: 44px;+ padding: 0 18px;border: 1px solid transparent;- border-radius: 9px;- font-size: 0.86rem;- font-weight: 650;+ border-radius: 999px;+ font-size: 0.9rem;+ font-weight: 600;text-decoration: none !important;- transition: border-color 180ms ease, background-color 180ms ease;+ transition: background-color 160ms ease, border-color 160ms ease,+ transform 160ms ease;+}++.home-button:hover {+ transform: translateY(-1px);}.home-button--primary {- color: #fff !important;- background: var(--vp-c-brand-1);+ color: var(--docs-accent-contrast) !important;+ background: var(--docs-accent);}.home-button--primary:hover {- background: var(--vp-c-brand-2);+ background: color-mix(in srgb, var(--docs-accent) 88%, var(--docs-text-3));}.home-button--secondary {- color: var(--vp-c-text-1) !important;- border-color: var(--vp-c-divider);- background: var(--vp-c-bg-alt);+ color: var(--docs-text-1) !important;+ border-color: var(--docs-line);+ background: var(--docs-bg-elevated);}.home-button--secondary:hover {- border-color: var(--vp-c-brand-1);+ border-color: var(--docs-line-strong);}-.home-console {- width: min(100%, 410px);- overflow: hidden;- border: 1px solid #2c394c;- border-radius: var(--docs-radius-lg);- color: #e8eef8;- background: #111827;- box-shadow: 0 24px 64px rgba(15, 23, 42, 0.2);- text-align: left;-}+/* ——— Product stage (hero laptop image) ——— */-.home-console__topbar,-.home-console__footer {- display: flex;- align-items: center;- gap: 10px;- padding: 11px 14px;- color: #91a2bb;- font-family: var(--vp-font-family-mono);- font-size: 0.62rem;- letter-spacing: 0.04em;-}--.home-console__topbar {- justify-content: space-between;- border-bottom: 1px solid rgba(255, 255, 255, 0.1);-}--.home-console__traffic {- display: flex;- gap: 5px;- margin-right: auto;+.home-stage {+ position: relative;+ width: 100%;+ max-width: 980px;+ margin: 0 auto;}-.home-console__traffic i {- width: 7px;- height: 7px;+.home-stage::before {+ position: absolute;+ inset: 6% 4% -8%;+ z-index: 0;border-radius: 50%;- background: #506079;-}--.home-console__traffic i:first-child { background: #ef7c72; }-.home-console__traffic i:nth-child(2) { background: #e4b45d; }-.home-console__traffic i:nth-child(3) { background: #63c58b; }-.home-console__status { color: #6ee7a0; }--.home-console__body {- display: grid;- grid-template-columns: 38px 1fr;- min-height: 292px;-}--.home-console__rail {- display: flex;- flex-direction: column;- align-items: center;- gap: 19px;- padding-top: 16px;- border-right: 1px solid rgba(255, 255, 255, 0.1);-}--.home-console__rail > span:not(.home-console__rail-mark) {- width: 10px;- height: 10px;- border: 1px solid #536783;- border-radius: 3px;-}--.home-console__rail-mark {- display: grid;- place-items: center;- width: 20px;- height: 20px;- border-radius: 6px;- color: #fff;- background: var(--vp-c-brand-1);- font-family: var(--vp-font-family-mono);- font-size: 0.7rem;- font-weight: 700;-}--.home-console__canvas {- padding: 20px 20px 0;-}--.home-console__caption {- color: #7790b5;- font-family: var(--vp-font-family-mono);- font-size: 0.62rem;- letter-spacing: 0.12em;+ background: radial-gradient(+ ellipse at center,+ var(--docs-stage-glow),+ transparent 68%+ );+ content: '';+ pointer-events: none;}-.home-console__graph {+.home-stage__frame {position: relative;- display: grid;- gap: 11px;- margin-top: 19px;+ z-index: 1;}-.home-console__node {- display: grid;- grid-template-columns: 28px 1fr auto;- gap: 8px;- align-items: center;- padding: 11px 12px;- border: 1px solid #2c3b53;- border-radius: 8px;- background: #172235;-}--.home-console__node--accent {- border-color: rgba(10, 132, 255, 0.72);- background: rgba(10, 132, 255, 0.16);-}--.home-console__node--state { border-color: rgba(110, 231, 160, 0.4); }--.home-console__node b,-.home-console__node strong,-.home-console__node small {- font-family: var(--vp-font-family-mono);-}--.home-console__node b {- color: #7790b5;- font-size: 0.62rem;- font-weight: 500;-}--.home-console__node strong {- color: #f3f6fb;- font-size: 0.7rem;-}--.home-console__node small {- color: #91a2bb;- font-size: 0.6rem;+.home-stage__shot {+ display: block;+ width: 100%;+ height: auto;+ aspect-ratio: 16 / 9;+ object-fit: cover;+ object-position: center top;+ border: 1px solid color-mix(in srgb, var(--docs-text-1) 12%, transparent);+ border-radius: 14px;+ background: transparent;+ opacity: 1;+ transition: opacity 220ms ease;+ box-shadow: 0 28px 50px rgba(0, 0, 0, 0.35);}-.home-console__line {- position: absolute;- left: 25px;- height: 11px;- border-left: 1px solid #48658f;+.home-stage__shot:not(.is-loaded) {+ opacity: 0.72;}-.home-console__line::after {- position: absolute;- bottom: -1px;- left: -3px;- width: 5px;- height: 5px;- border-right: 1px solid #6da3ff;- border-bottom: 1px solid #6da3ff;- content: '';- transform: rotate(45deg);+.home-stage__caption {+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: 12px;+ padding: 14px 2px 0;+ color: var(--docs-text-3);+ font-size: 0.78rem;+ line-height: 1.4;}-.home-console__line--one { top: 51px; }-.home-console__line--two { top: 108px; }-.home-console__line--three { top: 165px; }--.home-console__footer {- justify-content: space-between;- margin-top: 17px;- border-top: 1px solid rgba(255, 255, 255, 0.1);- color: #7185a2;+.home-stage__caption strong {+ color: var(--docs-text-2);+ font-weight: 550;}-.home-console__footer span:last-child { color: #6ee7a0; }+/* ——— Responsive ——— */@media (min-width: 1440px) {.VPDoc.has-aside .content-container {@@ -934,38 +1085,86 @@ body {padding-right: 32px;padding-left: 32px;}++ .home-stage {+ max-width: none;+ }}@media (max-width: 959px) {.VPDoc {- padding-top: 40px;+ padding-top: 36px;}.VPDoc .content-container {- max-width: 760px;+ max-width: 720px;+ }++ .VPHero {+ margin-top: 0 !important;+ padding-top: 36px;}.VPHero .container {- gap: 42px;+ gap: 32px;+ text-align: center;+ }++ .VPHero .main,+ .VPHero.has-image .main {+ order: 1;+ width: 100%;+ }++ .VPHero .name,+ .VPHero .text,+ .VPHero .tagline {+ max-width: 36rem;+ margin-right: auto;+ margin-left: auto;+ }++ .VPHero .actions {+ justify-content: center;+ }++ .VPHero .image,+ .VPHero.has-image .image {+ order: 2;+ width: min(100%, 860px);+ min-height: 0;+ margin: 0 !important;}.home-block__heading,.home-snapshot {grid-template-columns: 1fr;- gap: 22px;+ gap: 18px;}- .home-layers,+ .home-spine,.home-shelf {grid-template-columns: repeat(2, minmax(0, 1fr));}+ .home-layer:nth-child(2n) {+ border-right: 0;+ }++ .home-layer:nth-child(-n + 2) {+ border-bottom: 1px solid var(--docs-line);+ }++ .home-layer:last-child {+ border-right: 0;+ }+.home-shelf__item:nth-child(2n) {border-right: 0;}.home-shelf__item {- border-bottom: 1px solid var(--vp-c-divider);+ border-bottom: 1px solid var(--docs-line);}.home-shelf__item:nth-last-child(-n + 2) {@@ -975,7 +1174,11 @@ body {@media (max-width: 767px) {.VPNavBar {- backdrop-filter: blur(12px);+ position: sticky;+ top: 0;+ z-index: 30;+ background: color-mix(in srgb, var(--docs-bg) 92%, transparent);+ backdrop-filter: blur(16px);}.VPNavBarTitle .title {@@ -983,87 +1186,54 @@ body {}.VPDoc {- padding: 32px 0 60px;+ padding: 28px 0 56px;}.VPDoc .content {- padding-right: 20px;- padding-left: 20px;+ padding-right: 18px;+ padding-left: 18px;}.vp-doc {font-size: 15.5px;- line-height: 1.75;+ line-height: 1.72;}.vp-doc h1 {- font-size: clamp(1.8rem, 8vw, 2.25rem);+ margin-top: 8px;+ font-size: clamp(1.7rem, 7.5vw, 2.15rem);}.vp-doc h2 {- margin-top: 44px;- padding-top: 28px;- font-size: 1.35rem;+ margin-top: 42px;+ padding-top: 26px;+ font-size: 1.3rem;}.vp-doc .table-wrapper {- margin-right: -20px;- margin-left: -20px;+ margin-right: -18px;+ margin-left: -18px;border-right: 0;border-left: 0;border-radius: 0;}.VPHero {- padding: 58px 24px 48px !important;- }-- .VPHero .container {- display: flex;- flex-direction: column;- gap: 34px;- }-- .VPHero .main,- .VPHero.has-image .main {- order: 1;- width: 100%;- text-align: left;+ margin-top: 0 !important;+ padding: 28px 18px 36px !important;}.VPHero .image,.VPHero.has-image .image {- position: static;- order: 2;- width: 100%;- min-height: 0;- margin: 0;- }-- .VPHero .image-container {- position: static;- width: 100%;- height: auto;- transform: none;- }-- .VPHero .image-bg {- display: none;- }-- .VPHero .image-src {- position: static;- max-width: none;- max-height: none;- transform: none;+ margin: 0 !important;}.VPHero .name {- font-size: clamp(2.75rem, 14vw, 4rem);+ font-size: clamp(2.35rem, 12vw, 3.2rem);}.VPHero .text {- font-size: clamp(1.35rem, 7vw, 1.8rem);+ font-size: clamp(1.25rem, 6.5vw, 1.65rem);}.VPHero .tagline {@@ -1072,58 +1242,82 @@ body {}.VPHero .actions {- justify-content: flex-start;+ flex-direction: column;+ align-items: stretch;}- .home-console {+ .VPHero .action {width: 100%;- border-radius: var(--docs-radius-md);+ min-height: 44px;}- .VPFeatures,- .VPHome .vp-doc {- padding-right: 20px !important;- padding-left: 20px !important;+ .home-stage {+ max-width: none;}- .VPFeatures {- padding-bottom: 52px !important;+ .home-stage::before {+ display: none;+ }++ .home-stage__caption {+ align-items: flex-start;+ flex-direction: column;+ gap: 4px;}.home-modules {- padding-right: 20px;- padding-left: 20px;+ padding: 0 18px 24px;}.home-block {- padding: 52px 0;+ padding: 48px 0;+ }++ .home-tour {+ grid-template-columns: 1fr;+ gap: 22px;+ }++ .home-shot--feature {+ grid-column: auto;}.home-journeys,- .home-layers,+ .home-spine,.home-shelf {grid-template-columns: 1fr;}.home-journey {- min-height: auto;+ min-height: 0;+ grid-template-columns: 28px minmax(0, 1fr) 16px;+ padding: 18px;+ }++ .home-layer,+ .home-layer:nth-child(2n),+ .home-layer:last-child {+ border-right: 0;+ border-bottom: 1px solid var(--docs-line);+ }++ .home-layer:last-child {+ border-bottom: 0;}.home-shelf__item,.home-shelf__item:nth-child(2n),- .home-shelf__item:nth-child(4n) {+ .home-shelf__item:nth-child(4n),+ .home-shelf__item:nth-last-child(-n + 2) {+ min-height: 0;border-right: 0;- border-bottom: 1px solid var(--vp-c-divider);+ border-bottom: 1px solid var(--docs-line);}.home-shelf__item:last-child {border-bottom: 0;}- .home-shelf__item:nth-last-child(2) {- border-bottom: 1px solid var(--vp-c-divider);- }-.home-snapshot {padding: 36px 0;}@@ -1132,45 +1326,32 @@ body {grid-template-columns: repeat(2, minmax(0, 1fr));}- .home-snapshot__grid > div:nth-child(2) {+ .home-snapshot__grid > div:nth-child(2n) {border-right: 0;}.home-snapshot__grid > div:nth-child(-n + 2) {- border-bottom: 1px solid var(--vp-c-divider);+ border-bottom: 1px solid var(--docs-line);}.home-cta {display: grid;align-items: start;- padding-top: 54px;+ padding-top: 52px;}-}-@media (max-width: 419px) {- .VPHero .actions,.home-cta__actions {- display: grid;width: 100%;+ flex-direction: column;}- .VPHero .action,.home-button {width: 100%;+ min-height: 46px;}+}- .home-console__node {- grid-template-columns: 24px 1fr;- }-- .home-console__node small {- display: none;- }-- .home-console__footer {- flex-wrap: wrap;- }-+@media (max-width: 419px) {.home-snapshot__grid {grid-template-columns: 1fr;}@@ -1181,7 +1362,7 @@ body {gap: 10px;align-items: center;border-right: 0;- border-bottom: 1px solid var(--vp-c-divider);+ border-bottom: 1px solid var(--docs-line);}.home-snapshot__grid > div:last-child {diff --git a/docs/index.md b/docs/index.mdindex 6a89b8372..278a86f7b 100644--- a/docs/index.md+++ b/docs/index.md@@ -1,23 +1,19 @@---layout: hometitle: PI-Desktop-titleTemplate: Documentation for a local-first AI coding agent+titleTemplate: Documentation for a modular desktop workspace for AI agentshero:name: PI-Desktop- text: Read the product as a system.- tagline: A calm, inspectable desktop workspace for building with AI. Follow the boundaries, understand the contracts, and make changes with context.+ text: A desktop workspace for AI agents.+ tagline: Bring projects, agents, models, plugins, and workflows into one persistent, local-first environment. Model-agnostic. Plugin-powered.actions:- theme: brand- text: Start with context+ text: Start with the guidelink: /guide/- theme: alt- text: Open the spec map+ text: Product tour+ link: /guide/screenshots+ - theme: alt+ text: Spec maplink: /spec/README-features:- - title: Locate the boundary- details: Start from product intent, then move through architecture, runtime, UX, security, delivery, and plugins.- - title: Read the contract- details: Follow the Rust host core, pi sidecar, NDJSON RPC, storage ownership, and provider model system.- - title: Change with evidence- details: Connect the relevant spec, ADR, implementation, E2E scenario, and release checklist.---diff --git a/docs/public/hero-workspace.webp b/docs/public/hero-workspace.webpnew file mode 100644index 000000000..359b14f2dBinary files /dev/null and b/docs/public/hero-workspace.webp differdiff --git a/docs/zh-CN/index.md b/docs/zh-CN/index.mdindex 9d0f389dc..fa4652ba3 100644--- a/docs/zh-CN/index.md+++ b/docs/zh-CN/index.md@@ -1,23 +1,19 @@---layout: hometitle: PI-Desktop 文档-titleTemplate: 本地优先 AI 编程代理的文档系统+titleTemplate: 面向 AI 智能体的模块化桌面工作区hero:name: PI-Desktop- text: 把产品当作一套系统来阅读。- tagline: 一个克制、可检查的桌面工作区。沿着边界理解契约,在完整上下文中修改和验证代码。+ text: 给 AI 智能体一个桌面工作区。+ tagline: 把项目、智能体、模型、插件和工作流收进同一个持续存在的本地环境。模型可替换,插件可扩展。actions:- theme: brand- text: 先建立上下文+ text: 先读快速开始link: /zh-CN/guide/- theme: alt- text: 打开规格地图+ text: 产品一览+ link: /zh-CN/guide/screenshots+ - theme: alt+ text: 规格地图link: /zh-CN/spec/README-features:- - title: 先找到边界- details: 从产品意图出发,依次进入架构、运行时、体验、安全、交付和插件主题。- - title: 再读懂契约- details: 沿着 Rust host、pi sidecar、NDJSON RPC、存储所有权和模型系统深入。- - title: 带着证据修改- details: 把规格、ADR、实现、E2E 场景和发布清单连接成一条闭环。---