Skip to content

v2.0.2

Latest

Choose a tag to compare

@liangyou09 liangyou09 released this 18 Oct 13:11
· 52 commits to main since this release

LyShell 2.0.2 发行说明

LyShell 2.0.2 带来更完整的内置浏览器、统一的页签内容查找与跨终端搜索,以及 DSH 侧栏插件市场。原生 Harness 工作通道和 PetLink 共享工作台让 AI 任务更方便地接入 LyShell;Electron 运行时与插件生命周期也同步更新。

以下内容汇总自 2.0.1 以来的改动。

内置浏览器

  • 欢迎页和新建页签统一提供网址与搜索输入,可选择默认搜索引擎;全局命令面板仍通过 Ctrl+Shift+P 打开。
  • 新增主页、50%–200% 缩放、系统/直连/手动代理、访问记录、网页恢复,以及缓存和网站数据清理设置。
  • 登录时可确认保存或更新密码,在设置中管理账号,并在用户操作登录区域时按站点匹配填充。密码使用系统密钥加密,系统加密不可用时不提供保存和填充。
  • 摄像头、麦克风、通知、位置和读取剪贴板支持询问或禁止;允许访问仅在当前文档中有效。
  • 证书错误页可查看证书详情,由用户确认后在当前浏览器会话中信任对应主机与证书。
  • 普通网页页签按 F12 或点击检查网页按钮,可在页面下方打开开发者工具,并拖动调整高度。
  • 改善迷你浏览器清晰度,以及网页加载失败和插件页面崩溃后的提示与恢复。

内容查找与终端搜索

  • Ctrl+F 可查找当前文档、网页、DeepSeek 工作台和 MCP 审计页签的内容;审计查找仅覆盖当前分页。
  • 终端查找新增「本标签 / 所有终端」范围,按分屏与页签顺序跳转,跳过隐藏终端。
  • Enter 查找下一条,Shift+Enter 查找上一条,Esc 关闭查找。
  • 网页与 DeepSeek 页面支持区分大小写;正则表达式与全字匹配用于终端、文档等文本视图。
  • 修复搜索选区跳转与文档匹配边界,改善分屏中的焦点与查找交互。

DSH 插件市场与 AI 协作

  • 侧栏新增 DSH 插件市场,可浏览、搜索和安装 DSH 插件,切换面板后保留页面状态;提供市场安装和重新连接入口。
  • 市场复用共享 Harness 后台。后台正在使用时,需先结束任务并关闭工作台,再安装市场组件。
  • 新增 MCP 工具 lyshell_harness_work 和配套 HTTP 接口,支持工作会话、任务提交、状态与输出、审批和取消。不同调用凭据的会话、任务与审批相互隔离。
  • PetLink 与 LyShell 可复用一个兼容的 Harness 后台,在主区域同一官方工作台页签查看任务详情。关闭详情页签不停止任务,再次请求详情可重开;重复状态更新不打断历史浏览。
  • 共享工作台支持正常输入、新建会话和配置,完善详情重开、导航确认与断线后的状态恢复。

插件与界面

  • 插件可通过 contributes.settings 将设置页嵌入 LyShell 设置;PetLink 可打开其设置页,或在主区域打开并复用聊天页签。
  • 完善 PetLink 聊天与模型接入,新增从源码工作目录启动 PowerShell 7 的示例插件。
  • 改善插件异步停机、安装替换、共享后台连接与退出清理,减少过期响应造成的重复挂载和资源残留。
  • 完善画轴材质、紧凑面板、嵌套绳结、窄侧栏与折叠交互;优化插件市场面板布局和页面颜色同步。

升级与兼容性

  • Electron 升级至 43.7.11,node-pty 升级至 1.1.0,适配原生文件拖放、网页事件和原生模块加载。源码开发需要 Node.js 22.12 或更高版本。
  • 浏览器设置仅作用于普通网页和小窗,不改变 SSH、终端、DeepSeek 工作台或插件专用视图的网络设置。网页标签恢复默认关闭;恢复仅加载 URL,不重放表单提交。
  • PetLink 共享模式需使用配套兼容的 PetLink 构建,并安装官方 DeepSeek Harness;本地集成验证使用 dsh 0.2.0-rc.2,不代表所有其他版本均已验证。
  • 原生工作通道沿用现有 MCP 权限;外部客户端需显式开启外部接入。后台重启后需新建工作会话,结果未知的提交不会自动重发。

Windows 发行文件

文件 用途
LyShell-2.0.2-x64-setup.exe Windows 10 / 11 x64 安装版,可选择安装目录并创建快捷方式
LyShell-2.0.2-x64-portable.exe Windows 10 / 11 x64 便携版,免安装运行

LyShell 2.0.2 Release Notes

Status: pending release.

LyShell 2.0.2 expands the built-in browser, adds find-in-tab and cross-terminal search, and introduces a DSH sidebar plugin market. A native Harness work channel and the shared PetLink workbench make it easier to bring AI tasks into LyShell, alongside updates to the Electron runtime and plugin lifecycle.

These notes cover changes since 2.0.1.

Built-in Browser

  • The welcome page and new tabs share an address/search field with a selectable default search engine. The global command palette remains available through Ctrl+Shift+P.
  • Added settings for a home page, 50%–200% zoom, system/direct/manual proxies, history, page restoration, and clearing cache and site data.
  • Confirm password saves or updates during sign-in, manage accounts in settings, and fill credentials for the matching site when interacting with its sign-in area. Passwords use system encryption; saving and filling are unavailable when system encryption is unavailable.
  • Camera, microphone, notifications, location, and clipboard reads can prompt or be denied. Granted access applies only to the current document.
  • Certificate error pages show certificate details and allow user-confirmed exceptions for the matching host and certificate in the current browser session.
  • Press F12 or use the inspect button in a regular web tab to open developer tools below the page, with a draggable height divider.
  • Improved mini-browser clarity and error feedback and recovery for failed page loads and crashed plugin pages.

Content and Terminal Search

  • Use Ctrl+F to search the current content of documents, web pages, the DeepSeek workbench, and MCP audit tabs. Audit search covers the current page of results.
  • Terminal search can target the current tab or all terminals, following pane and tab order and skipping hidden terminals.
  • Use Enter for the next match, Shift+Enter for the previous match, and Esc to close search.
  • Web pages and DeepSeek support case matching. Regular expressions and whole-word matching are available in terminals and text views such as documents.
  • Fixed search selection navigation and document match boundaries, with improved focus and search behavior across split panes.

DSH Plugin Market and AI Collaboration

  • Browse, search, and install DSH plugins in the new sidebar market, with preserved page state when switching panels and actions to set up or reconnect the market.
  • The market reuses the shared Harness backend. Finish tasks and close the workbench before installing market components while that backend is in use.
  • The new lyshell_harness_work MCP tool and HTTP endpoints support work sessions, task submission, status and output tracking, approvals, and cancellation. Sessions, tasks, and approvals are isolated by caller credential.
  • PetLink and LyShell can reuse a compatible Harness backend and show task details in the same official workbench tab. Tasks continue when the details tab is closed; an explicit details action can reopen it. Repeated state updates preserve history browsing.
  • The shared workbench supports normal input, new sessions, and configuration, with improved details reopening, navigation confirmation, and state recovery after disconnection.

Plugins and Interface

  • Plugins can embed settings pages through contributes.settings. PetLink can open its settings or open and reuse a chat tab in the main area.
  • Improved PetLink chat and model integration, and added example plugins for launching PowerShell 7 from a source workspace.
  • Improved asynchronous plugin shutdown, installation replacement, shared backend connections, and exit cleanup, reducing duplicate mounting and leftover resources caused by stale responses.
  • Refined scroll materials, compact panels, nested knots, narrow sidebars, and folding interactions, with improved market layout and page color synchronization.

Upgrade and Compatibility

  • Upgraded Electron to 43.7.11 and node-pty to 1.1.0, adapting native file drag-and-drop, web events, and native module loading. Source development requires Node.js 22.12 or later.
  • Browser settings apply to regular web tabs and the mini-browser, without changing network settings for SSH, terminals, the DeepSeek workbench, or dedicated plugin views. Web tab restoration is off by default and restores URLs without replaying form submissions.
  • Shared PetLink mode requires a compatible PetLink build and an installed official DeepSeek Harness. Local integration validation used dsh 0.2.0-rc.2; other versions have not all been validated.
  • The native work channel follows existing MCP permissions. External clients require external access to be explicitly enabled. Create a new work session after a backend restart; submissions with unknown outcomes are not automatically retried.

Windows Release Files

File Purpose
LyShell-2.0.2-x64-setup.exe Windows 10 / 11 x64 installer with a selectable installation directory and shortcuts
LyShell-2.0.2-x64-portable.exe Windows 10 / 11 x64 portable executable; runs without installation